aboutsummaryrefslogtreecommitdiffstats
path: root/community/dcadec/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dcadec/APKBUILD')
-rw-r--r--community/dcadec/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/dcadec/APKBUILD b/community/dcadec/APKBUILD
new file mode 100644
index 0000000000..47a359de71
--- /dev/null
+++ b/community/dcadec/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dcadec
+pkgver=0.2.0
+pkgrel=0
+pkgdesc="DTS Coherent Acoustics decoder with support for HD extensions"
+url="https://github.com/foo86/dcadec"
+arch="all"
+license="LGPLv2.1"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="dcadec-$pkgver.tar.gz::https://github.com/foo86/dcadec/archive/v$pkgver.tar.gz"
+
+builddir="$srcdir"/dcadec-$pkgver
+build() {
+ cd "$builddir"
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
+}
+
+md5sums="14005424ad2ee56ce3d33b921ef749cb dcadec-0.2.0.tar.gz"
+sha256sums="ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44 dcadec-0.2.0.tar.gz"
+sha512sums="94edcc0b4449882ebeb08f8b39fe44a5302731df2dad3a3e0b0f787fd7c2c3e3992fed95e6f594af516e982cec34b057aab30e6457c098df61f495a487125acb dcadec-0.2.0.tar.gz"