summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorblackhole2015-10-22 18:11:47 +0200
committerblackhole2015-10-22 18:11:47 +0200
commitabd906859280c29b5d1eb49c37add24ca3d071ef (patch)
treef6cdfef7d53aadd9fe63d8b9ef374d0c8704eaa9
parentd126ad9f35e9b28490ee5e88102b9cf0bdcd8db2 (diff)
downloadaur-abd906859280c29b5d1eb49c37add24ca3d071ef.tar.gz
Fix git version
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b2360ce9fe3..b8beeac9627 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sox-dsd-git
pkgdesc = SoX Resampler library dsd branch
- pkgver = sox.14.4.2.r12.gc05c760
- pkgrel = 1
+ pkgver = 14.4.2.r12.gc05c760
+ pkgrel = 2
url = http://sox.sourceforge.net/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index c9a1201c1f3..3a13f18ad9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
pkgname=sox-dsd-git
-pkgver=sox.14.4.2.r12.gc05c760
-pkgrel=1
+pkgver=14.4.2.r12.gc05c760
+pkgrel=2
pkgdesc="SoX Resampler library dsd branch"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
@@ -21,7 +21,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^sox.//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {