summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Arndt2016-04-03 01:05:33 +0200
committerChristopher Arndt2016-04-03 01:05:33 +0200
commite4226652d30b3ddd1ee8915d39bbb86176ca439d (patch)
treece625ac09fc589eeafabb42de1928a176c3dad44
parent0ba589bd89344e6d12a86fcb4446a5652a858abc (diff)
downloadaur-e4226652d30b3ddd1ee8915d39bbb86176ca439d.tar.gz
Build with 'Release' config; remove dependency 'libarchive' (already covered); fix pkgver()
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ab0a45d0d07..4a93c41425e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Feb 3 14:52:35 UTC 2016
+# Sat Apr 2 23:03:56 UTC 2016
pkgbase = hydrogen-git
pkgdesc = An advanced drum machine - git version
- pkgver = 0.9.7.beta1.r90.g5c9eb00
+ pkgver = 0.9.7.beta2.r2541.3187d9b
pkgrel = 1
url = https://github.com/hydrogen-music/hydrogen
install = hydrogen.install
@@ -12,7 +12,6 @@ pkgbase = hydrogen-git
makedepends = git
makedepends = cmake
depends = desktop-file-utils
- depends = libarchive
depends = liblrdf
depends = qt4
depends = jack
diff --git a/PKGBUILD b/PKGBUILD
index 146ed374c49..61c6819a93b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,13 @@
pkgname=hydrogen-git
_pkgname=hydrogen
-pkgver=0.9.7.beta1.r90.g5c9eb00
+pkgver=0.9.7.beta2.r2541.3187d9b
pkgrel=1
pkgdesc="An advanced drum machine - git version"
arch=('i686' 'x86_64')
license=('GPL')
url="https://github.com/hydrogen-music/hydrogen"
-depends=('desktop-file-utils' 'libarchive' 'liblrdf' 'qt4' 'jack' 'libpulse'
+depends=('desktop-file-utils' 'liblrdf' 'qt4' 'jack' 'libpulse'
'lash' 'liblo')
optdepends=('rubberband: Audio Time Stretcher Library')
makedepends=('git' 'cmake')
@@ -21,8 +21,10 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
- # Use the tag of the last commit
- git describe --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+ version="$(git describe --tags | sed -e 's/-/./')"
+ revision=$(git rev-list --count HEAD)
+ hash=$(git rev-parse --short HEAD)
+ echo $version.r$revision.$hash
}
prepare() {
@@ -45,6 +47,7 @@ build() {
cmake ../$_pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DWANT_DEBUG=OFF \
-DWANT_LASH=ON \
-DWANT_LRDF=ON \
-DWANT_CPPUNIT=OFF