diff options
Diffstat (limited to 'community/libaacs/PKGBUILD')
-rw-r--r-- | community/libaacs/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/libaacs/PKGBUILD b/community/libaacs/PKGBUILD new file mode 100644 index 000000000..9c3e01eef --- /dev/null +++ b/community/libaacs/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 104040 2014-01-14 17:14:01Z flexiondotorg $ +# Maintainer: Martin Wimpress <code@flexion.org> +# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com> +# Contributor: Dirk Berg <berg1981@googlemail.com> + +pkgname=libaacs +pkgver=0.7.0 +pkgrel=2 +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") +provides=('libaacs') +conflicts=('libaacs-git') +md5sums=('8da0da893d1f266b31bf8a8fc7c84a84') + +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 +} |