diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -1,29 +1,25 @@ # Maintainer: Felix Golatofski <contact@xdfr.de> # Contributor: masutu < masutu dot arch dot googlemail dot com > pkgname=qloud -pkgver=1.3.alpha.r3.ge99e491 +pkgver=1.3a +_pkgver=1.3-alpha pkgrel=1 pkgdesc="A tool to measure a loudspeaker frequency response and distortions." arch=('i686' 'x86_64') url="https://github.com/molke-productions/qloud" license=('GPL') depends=('fftw' 'jack' 'qwt') -source=(git+https://github.com/molke-productions/qloud.git) -sha512sums=('SKIP') - -pkgver() { - cd "${srcdir}/${pkgname}" - git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' -} +source=("$pkgname.tar.gz::https://github.com/molke-productions/qloud/archive/v$_pkgver.tar.gz") +sha512sums=('4ad124da340cd4f1e3ee43da65ba78c605665be7ce05fd375b09ecd785331adee56d4475b5d191fa7393528768e3c302a8051227d292ada57d2827ab0fffb5a1') build() { - cd "$srcdir/$pkgname" + cd "$srcdir/$pkgname-$_pkgver" qmake make } package() { - cd "$srcdir/$pkgname" + cd "$srcdir/$pkgname-$_pkgver" install -Dm755 bin/qloud $pkgdir/usr/bin/qloud } |