diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-21 02:00:49 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-21 02:00:49 -0500 |
commit | 8da9bf0271b2d3fc97222b6c5d8b054b42afc245 (patch) | |
tree | 89f6f95e6d8dcd37dda6d4299440ca636b8ca32a /user | |
parent | 9ba7793fb31e0c572b6cd3809166a98194185d41 (diff) | |
download | packages-8da9bf0271b2d3fc97222b6c5d8b054b42afc245.tar.gz packages-8da9bf0271b2d3fc97222b6c5d8b054b42afc245.tar.bz2 packages-8da9bf0271b2d3fc97222b6c5d8b054b42afc245.tar.xz packages-8da9bf0271b2d3fc97222b6c5d8b054b42afc245.zip |
user/libaacs: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/libaacs/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libaacs/APKBUILD b/user/libaacs/APKBUILD new file mode 100644 index 000000000..6278e5c9f --- /dev/null +++ b/user/libaacs/APKBUILD @@ -0,0 +1,38 @@ +# 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" |