summaryrefslogtreecommitdiffstats
path: root/abs/extra/libaacs
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/libaacs')
-rw-r--r--abs/extra/libaacs/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/extra/libaacs/PKGBUILD b/abs/extra/libaacs/PKGBUILD
new file mode 100644
index 0000000..02e38de
--- /dev/null
+++ b/abs/extra/libaacs/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Martin Wimpress <code@flexion.org>
+# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
+# Contributor: Dirk Berg <berg1981@googlemail.com>
+
+pkgname=libaacs
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="Advanced Access Content System"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://www.videolan.org/developers/libaacs.html"
+depends=('libgcrypt')
+source=("ftp://ftp.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('667fd744ddd73c8a3e51192dd3822f7e5002883c')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./bootstrap
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 KEYDB.cfg "${pkgdir}/usr/share/doc/${pkgname}"/KEYDB.cfg
+ install -Dm644 README.txt "${pkgdir}/usr/share/doc/${pkgname}"/README.txt
+}