summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrea Pascal2019-07-30 02:33:37 -0500
committerAndrea Pascal2019-07-30 02:33:37 -0500
commit71992dfc265dbac6d276556816cf577b6ef01912 (patch)
treeaef82c9de5ea463dbb43931157c3fdacbbe5a0a9 /PKGBUILD
parent3fd55e1d9703db5e22643166989cf3275663f1b7 (diff)
downloadaur-wla-dx-git.tar.gz
Update pkgver()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 14 insertions, 20 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7a1b1b4e137..37ee0e34025 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,30 @@
# Maintainer: Andrea Pascal <andrea@anodium.net>
+
pkgname=wla-dx-git
-pkgver=v9.5.svn.r361.bfe081d
+pkgver=9.8.r640.6fd0465
pkgrel=1
-pkgdesc="Yet Another GB-Z80/Z80/6502/65C02/6510/65816/HUC6280/SPC-700 Multi Platform Cross Assembler Package"
+pkgdesc="Yet Another GB-Z80/Z80/6502/65C02/6510/65816/6800/HUC6280/SPC-700 Multi Platform Cross Assembler Package"
arch=('any')
url="https://github.com/vhelin/wla-dx"
license=('GPL2')
-groups=()
-depends=()
makedepends=('git' 'cmake')
-provides=("${pkgname%-VCS}")
-conflicts=("${pkgname%-VCS}")
-replaces=()
-backup=()
-options=()
-install=
-source=('git://github.com/vhelin/wla-dx.git')
-noextract=()
-md5sums=('SKIP')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=('git+https://github.com/vhelin/wla-dx.git')
+sha384sums=('SKIP')
pkgver() {
- cd "$srcdir/wla-dx"
- printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+ cd "$srcdir/wla-dx"
+ printf "%s.r%s.%s" "$(git describe --long --tags | sed -r 's/^v//;s/-([0-9,a-g,A-G].*)//')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/wla-dx"
- cmake -G "Unix Makefiles" .
- make
+ cd "$srcdir/wla-dx"
+ cmake -G "Unix Makefiles" .
+ make
}
package() {
- cd "$srcdir/wla-dx"
- make DESTDIR="$pkgdir/" install
+ cd "$srcdir/wla-dx"
+ make DESTDIR="$pkgdir/" install
}