summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4540e0e8c4d..b63cca3cd59 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = protracker-git
pkgdesc = Rewrite of ProTracker v2.3D (Amiga)
- pkgver = e537ab6
+ pkgver = v1.06.r0.g4beea68
pkgrel = 1
epoch = 1
url = https://16-bits.org/pt2.php
@@ -9,6 +9,7 @@ pkgbase = protracker-git
license = PD
makedepends = git
depends = sdl2
+ conflicts = protracker-svn
source = protracker::git://github.com/8bitbubsy/pt2-clone.git
source = protracker.png
source = protracker.desktop
diff --git a/PKGBUILD b/PKGBUILD
index 2138d295f2b..8cb54eefc21 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,6 +4,7 @@
_name=protracker
pkgname=protracker-git
+pkgver=v1.06.r0.g4beea68
pkgrel=1
epoch=1
pkgdesc="Rewrite of ProTracker v2.3D (Amiga)"
@@ -12,7 +13,7 @@ url="https://16-bits.org/pt2.php"
license=("PD")
makedepends=('git')
depends=('sdl2')
-conflicts=protracker-svn
+conflicts=('protracker-svn')
source=("${_name}::git://github.com/8bitbubsy/pt2-clone.git"
protracker.png
@@ -22,6 +23,11 @@ md5sums=('SKIP'
'014452ddc77b8a115bfbcea2286a786c'
'088df5e07ea1524f0be648c20e706f51')
+pkgver() {
+ cd "$_name"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
build(){
cd "$srcdir/$_name"
sh ./make-linux.sh