aboutsummaryrefslogtreecommitdiffstats
path: root/community/dcadec/APKBUILD
blob: ff3011f74e6bdbbb5be159c3a2682d8d0fd8199d (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
# 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
}

sha512sums="94edcc0b4449882ebeb08f8b39fe44a5302731df2dad3a3e0b0f787fd7c2c3e3992fed95e6f594af516e982cec34b057aab30e6457c098df61f495a487125acb  dcadec-0.2.0.tar.gz"