summaryrefslogblamecommitdiff
path: root/user/libaacs/APKBUILD
blob: 6278e5c9ff2154b58d0c29569f21e8914e9fe506 (plain) (tree)





































                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libaacs
pkgver=0.9.0
pkgrel=0
pkgdesc="Library to decrypt Advanced Access Content System content"
url="https://www.videolan.org/developers/libaacs.html"
arch="all"
license="LGPL-2.1+"
makedepends="bison flex libgcrypt-dev libgpg-error-dev"
subpackages="$pkgname-dev"
source="https://download.videolan.org/pub/videolan/libaacs/$pkgver/libaacs-$pkgver.tar.bz2"

build() {
	cd "$builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="b9c658db22a0966486070d3b762509a7c0120469ab29d1e57c1b624cad309701de8b92455ec649db4d731be4a5c29c38fb4f99bb7617dbb4254270284a1903f6  libaacs-0.9.0.tar.bz2"