summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Yan2015-07-23 20:18:08 +0800
committerFelix Yan2015-07-23 20:18:08 +0800
commit6ab1d8089057a0328fcf10891cd65c40b934c98c (patch)
treef5e4a2e51f123beadb4cfc3d49974cffd8406ba3
downloadaur-6ab1d8089057a0328fcf10891cd65c40b934c98c.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD36
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a6c76a1b1a0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = libxtract-git
+ pkgdesc = A simple, portable, lightweight library of audio feature extraction functions
+ pkgver = 0.159.b8c8c2c
+ pkgrel = 1
+ url = https://github.com/jamiebullock/LibXtract
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ depends = glibc
+ provides = libxtract
+ conflicts = libxtract
+ source = git://github.com/jamiebullock/LibXtract.git
+ md5sums = SKIP
+
+pkgname = libxtract-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c9e451bc9ed
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=libxtract-git
+_gitname=LibXtract
+pkgver=0.159.b8c8c2c
+pkgrel=1
+pkgdesc='A simple, portable, lightweight library of audio feature extraction functions'
+url='https://github.com/jamiebullock/LibXtract'
+arch=('i686' 'x86_64')
+license=('custom')
+depends=('glibc')
+makedepends=('git')
+provides=('libxtract')
+conflicts=('libxtract')
+source=("git://github.com/jamiebullock/LibXtract.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_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
+}
+package ()
+{
+ cd "$srcdir/$_gitname"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+