diff options
author | Kristian Gunstone | 2016-12-13 02:20:52 +0100 |
---|---|---|
committer | Kristian Gunstone | 2016-12-13 02:20:52 +0100 |
commit | c34b249aa28c575d4c088abff396e197bd84e23f (patch) | |
tree | 0d5431c15eb871891999b901811c967f96df7f85 | |
parent | 32fecd51f9021329b802b68c49e28b3946dfe58b (diff) | |
download | aur-c34b249aa28c575d4c088abff396e197bd84e23f.tar.gz |
Fix some sillyness
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 8 deletions
@@ -1,4 +1,4 @@ -pkgbase = netris +pkgbase = netris-git pkgdesc = Mark H. Weaver's Netris -- A free networked version of T*tris. This is Nathan Aclander's github fork with several bugfixes and improvements pkgver = 0.52 pkgrel = 1 @@ -7,9 +7,10 @@ pkgbase = netris arch = x86_64 license = GPL2 makedepends = git - source = netris::git+https://github.com/naclander/netris.git + conflicts = netris + source = netris-git::git+https://github.com/naclander/netris.git md5sums = SKIP sha1sums = SKIP -pkgname = netris +pkgname = netris-git @@ -13,10 +13,10 @@ conflicts=('netris') # Doesn't actually exist at the time of writing # (the original site - netris.org - is dead) sha1sums+=('SKIP') md5sums=('SKIP') -source=("netris::git+https://github.com/naclander/netris.git") +source=("${pkgname}::git+https://github.com/naclander/netris.git") pkgver() { - head -n1 "$pkgname/VERSION" + head -n1 "${pkgname}/VERSION" } build() { @@ -26,7 +26,7 @@ build() { } package() { - mkdir -p "$pkgdir/usr/bin/" - cp -v "$pkgname/netris" "$pkgdir/usr/bin/netris" - cp -v "$pkgname/sr" "$pkgdir/usr/bin/netris-sr" + mkdir -p "${pkgdir}/usr/bin/" + cp -v "${pkgname}/netris" "${pkgdir}/usr/bin/netris" + cp -v "${pkgname}/sr" "${pkgdir}/usr/bin/netris-sr" } |