initial import
This commit is contained in:
27
xa/PKGBUILD
Normal file
27
xa/PKGBUILD
Normal file
@@ -0,0 +1,27 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=xa
|
||||
pkgver=2.3.11
|
||||
pkgrel=1
|
||||
pkgdesc='Cross-assembler for the 6502 microprocessor'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://www.floodgap.com/retrotech/xa/'
|
||||
license=('GPL-2')
|
||||
makedepends=('setconf')
|
||||
source=("https://www.floodgap.com/retrotech/xa/dists/$pkgname-$pkgver.tar.gz")
|
||||
sha512sums=('2be31b6a67d30e94be616c465591614881028a8bc308202de7561a5719573582b3f29a205a0be76e1f9071621b4882c9aef95cf3494f376e88edc40afa1545dc')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
setconf Makefile CFLAGS="$CFLAGS -fPIC -Wl,-z,relro,-z,now"
|
||||
setconf Makefile LDFLAGS="$LDFLAGS -z,relro,-z,now"
|
||||
}
|
||||
|
||||
build() {
|
||||
make -C $pkgname-$pkgver
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C $pkgname-$pkgver DESTDIR="$pkgdir/usr" install
|
||||
install -Dm644 "$srcdir/$pkgname-$pkgver/COPYING" -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
Reference in New Issue
Block a user