diff options
author | gammy | 2016-12-14 14:14:59 +0100 |
---|---|---|
committer | gammy | 2016-12-14 14:14:59 +0100 |
commit | 201bfa7a1bfc5cc4770a8dd9cabfa2831feba80f (patch) | |
tree | f0635f8bb065a51d4aa0c744bbbf372fe54830f9 | |
parent | 690bfea1afa65e3303fdc348c1fc7483b122b54f (diff) | |
download | aur-201bfa7a1bfc5cc4770a8dd9cabfa2831feba80f.tar.gz |
Substitute dashes for underscores in the version function, as the source repo now uses dashes
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = netris-git pkgdesc = Mark H. Weaver's Netris -- A free networked version of T*tris. This is my (the AUR package maintainer) fork, which itself is based on Nathan Aclander's fork. pkgver = 0.52 - pkgrel = 1 + pkgrel = 2 url = https://github.com/naclander/netris.git arch = i686 arch = x86_64 @@ -1,6 +1,6 @@ # Maintainer: Kristian Gunstone <kristian.gunstone.butnotthispart@pean.northis.org> pkgname=netris-git -pkgver=0.52 # Is automatically updated by pkgver() below +pkgver=0.52_19 # Is automatically updated by pkgver() below pkgrel=1 pkgdesc="Mark H. Weaver's Netris -- A free networked version of T*tris. This is my (the AUR package maintainer) fork, which itself is based on Nathan Aclander's fork." arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ md5sums=('SKIP') source=("${pkgname}::git+https://github.com/gammy/netris.git") pkgver() { - head -n1 "${pkgname}/VERSION" + head -n1 "${pkgname}/VERSION" | tr '-' '_' } build() { |