summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMitchell Renouf2018-09-27 16:20:38 -0230
committerMitchell Renouf2018-09-27 16:20:38 -0230
commitf09bd1bb088e64adc440f6c450e7080d7ba1d996 (patch)
tree085f403c991562d48ce03d5532929494d47a47c8 /PKGBUILD
downloadaur-f09bd1bb088e64adc440f6c450e7080d7ba1d996.tar.gz
inital commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3765d6bf1be
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Mitchell Renouf <mitchellarenouf@gmail.com>
+
+pkgname=libopenaptx-git
+_pkgname=libopenaptx
+pkgver=r0.0.0eb6ce6
+pkgrel=1
+pkgdesc="Open Source implementation of Audio Processing Technology codec (aptX)"
+arch=('x86_64')
+url="https://github.com/pali/libopenaptx"
+license=('LGPL 2.1')
+depends=()
+makedepends=('git')
+provides=('libopenaptx')
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+source=('git://github.com/pali/libopenaptx.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/libopenaptx"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/libopenaptx"
+ make
+}
+
+package() {
+ cd "$srcdir/libopenaptx"
+ make DESTDIR="$pkgdir/" install
+}