initial import
This commit is contained in:
24
sjasmplus/PKGBUILD
Normal file
24
sjasmplus/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=sjasmplus
|
||||
pkgver=20190306.1
|
||||
pkgrel=1
|
||||
pkgdesc="SJAsmPlus: Z80 cross-assembler"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/sjasmplus/sjasmplus'
|
||||
license=('zlib')
|
||||
depends=('boost-libs')
|
||||
makedepends=('cmake' 'boost')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz")
|
||||
sha512sums=('7a97c73661d25d96a8a0ec137f6440b640d1388e3452525219deb09c37905d2279b981016280dc11dfe014bd710581a568120475b2e286afd3f3d519134106b5')
|
||||
|
||||
build() {
|
||||
cmake -B build $srcdir/$pkgname-$pkgver \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
make -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "$srcdir/build/sjasmplus" "$pkgdir/usr/bin/sjasmplus"
|
||||
install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user