Date: Friday, March 29, 2019 @ 13:19:56
  Author: arodseth
Revision: 446009

upgpkg: xa 2.3.9-1

Modified:
  xa/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-03-29 13:04:22 UTC (rev 446008)
+++ PKGBUILD    2019-03-29 13:19:56 UTC (rev 446009)
@@ -1,22 +1,29 @@
-# Maintainer: Gaetan Bisson <[email protected]>
+# Maintainer: Alexander F. Rødseth <[email protected]>
+# Contributor: Gaetan Bisson <[email protected]>
 # Contributor: Chris Mosher <[email protected]>
 
 pkgname=xa
-pkgver=2.3.8
-pkgrel=2
-pkgdesc='Cross-assembler for 6502 microprocessor'
-url='http://www.floodgap.com/retrotech/xa/'
-arch=('x86_64')
-license=('GPL2')
-source=("http://www.floodgap.com/retrotech/xa/dists/${pkgname}-${pkgver}.tar.gz";)
-sha256sums=('3b97d2fe8891336676ca28ff127b69e997f0b5accf2c7009b4517496929b462a')
+pkgver=2.3.9
+pkgrel=1
+pkgdesc='Cross-assembler for the 6502 microprocessor'
+arch=(x86_64)
+url='https://floodgap.com/retrotech/xa/'
+license=(GPL2)
+makedepends=(setconf)
+source=("http://floodgap.com/retrotech/xa/dists/$pkgname-$pkgver.tar.gz";)
+sha256sums=('8d3097d3b75adf4305d7d5c8e8f2568a7176cb348bcc50006cfc58378540c555')
 
+prepare() {
+  setconf $pkgname-$pkgver/Makefile CFLAGS="$CFLAGS"
+  setconf $pkgname-$pkgver/Makefile LDFLAGS="$LDFLAGS"
+}
+
 build() {
-       cd "${srcdir}/${pkgname}-${pkgver}"
-       make
+  make -C $pkgname-$pkgver
 }
 
 package() {
-       cd "${srcdir}/${pkgname}-${pkgver}"
-       make DESTDIR="${pkgdir}/usr" install
+       make -C $pkgname-$pkgver DESTDIR="$pkgdir/usr" install
 }
+
+# vim: ts=2 sw=2 et:

Reply via email to