summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNarrat2018-06-04 02:32:46 +0200
committerNarrat2018-06-04 02:32:46 +0200
commit95e0b715fc7741676f8164b69bd0f4807933a580 (patch)
tree6407d659d1b3262236cfa8ad28fe2f04ad541ef7 /PKGBUILD
parent6ab1d8089057a0328fcf10891cd65c40b934c98c (diff)
downloadaur-95e0b715fc7741676f8164b69bd0f4807933a580.tar.gz
Incorporate changes by austonst
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c9e451bc9ed..44e0e592871 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
-# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Felix Yan <felixonmars@gmail.com>
pkgname=libxtract-git
_gitname=LibXtract
-pkgver=0.159.b8c8c2c
+pkgver=0.282.7aa96fa
pkgrel=1
-pkgdesc='A simple, portable, lightweight library of audio feature extraction functions'
+pkgdesc='simple, portable, lightweight library of audio feature extraction functions'
url='https://github.com/jamiebullock/LibXtract'
arch=('i686' 'x86_64')
license=('custom')
@@ -16,20 +16,18 @@ source=("git://github.com/jamiebullock/LibXtract.git")
md5sums=('SKIP')
pkgver() {
- cd "$srcdir/$_gitname"
+ cd "$_gitname"
echo "0.$(git rev-list --count HEAD).$(git describe --always)"
}
build() {
- cd "$srcdir/$_gitname"
- sh autogen.sh
- ./configure --prefix='/usr' # --enable-pd_example
- make
+ cd "$_gitname"
+ make LIBRARY=shared
}
-package ()
-{
- cd "$srcdir/$_gitname"
- make DESTDIR="$pkgdir" install
+
+package () {
+ cd "$_gitname"
+ make PREFIX="$pkgdir/usr" LIBRARY=shared install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}