summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitchell Renouf2018-09-27 16:20:38 -0230
committerMitchell Renouf2018-09-27 16:20:38 -0230
commitf09bd1bb088e64adc440f6c450e7080d7ba1d996 (patch)
tree085f403c991562d48ce03d5532929494d47a47c8
downloadaur-f09bd1bb088e64adc440f6c450e7080d7ba1d996.tar.gz
inital commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD35
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1b34dc882c6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = libopenaptx-git
+ pkgdesc = Open Source implementation of Audio Processing Technology codec (aptX)
+ pkgver = r0.0.0eb6ce6
+ pkgrel = 1
+ url = https://github.com/pali/libopenaptx
+ arch = x86_64
+ license = LGPL 2.1
+ makedepends = git
+ provides = libopenaptx
+ source = git://github.com/pali/libopenaptx.git
+ md5sums = SKIP
+
+pkgname = libopenaptx-git
+
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
+}