summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/dcadec/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/dcadec/PKGBUILD b/abs/extra/dcadec/PKGBUILD
new file mode 100644
index 0000000..5e52ae8
--- /dev/null
+++ b/abs/extra/dcadec/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+# Contributor: Yamashita Ren <lemaitre.lotus@gmail.com>
+
+pkgname=dcadec
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='DTS Coherent Acoustics decoder with support for HD extensions'
+arch=('i686' 'x86_64')
+url='https://github.com/foo86/dcadec.git'
+license=('LGPL2.1')
+depends=('glibc')
+provides=('libdcadec.so')
+source=("dcadec-${pkgver}.tar.gz::https://github.com/foo86/dcadec/archive/v${pkgver}.tar.gz")
+sha256sums=('ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44')
+
+build() {
+ cd dcadec-${pkgver}
+
+ export CONFIG_SHARED='TRUE'
+
+ make
+}
+
+package() {
+ cd dcadec-${pkgver}
+
+ export CONFIG_SHARED='TRUE'
+ export PREFIX='/usr'
+
+ make DESTDIR="${pkgdir}" install
+ mv "${pkgdir}"/usr/bin/dcadec{,-hd}
+}
+
+# vim: ts=2 sw=2 et: