summaryrefslogtreecommitdiff
path: root/community/dcadec/APKBUILD
blob: 37bcc6edccfbdd352fbe1b75d6b5e45d07ea6fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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="LGPL-2.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"