summaryrefslogtreecommitdiffstats
path: root/abs/extra/libaacs-git
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-09-03 03:48:17 (GMT)
committerCecil <knoppmyth@gmail.com>2012-09-03 03:48:17 (GMT)
commit0f974e2ffd930b90d7ac04f8ac2db296882e0dec (patch)
tree933166c04f221452c3c60eede9e5354fbdd9e3dd /abs/extra/libaacs-git
parentc966be940a08c876c5b09b139cae981b299eb644 (diff)
downloadlinhes_pkgbuild-0f974e2ffd930b90d7ac04f8ac2db296882e0dec.zip
linhes_pkgbuild-0f974e2ffd930b90d7ac04f8ac2db296882e0dec.tar.gz
linhes_pkgbuild-0f974e2ffd930b90d7ac04f8ac2db296882e0dec.tar.bz2
libaacs-git:initial inclusion. closes #801
Diffstat (limited to 'abs/extra/libaacs-git')
-rw-r--r--abs/extra/libaacs-git/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/abs/extra/libaacs-git/PKGBUILD b/abs/extra/libaacs-git/PKGBUILD
new file mode 100644
index 0000000..e88a6e4
--- /dev/null
+++ b/abs/extra/libaacs-git/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
+
+pkgname=libaacs-git
+pkgver=20120508
+pkgrel=1
+pkgdesc="Advanced Access Content System (GIT version)"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://www.videolan.org/developers/libaacs.html"
+depends=('libgcrypt')
+makedepends=('git' 'flex' 'bison')
+options=('!libtool')
+provides=('libaacs')
+conflicts=('libaacs')
+
+_gitroot="git://git.videolan.org/libaacs.git"
+_gitname="libaacs"
+
+build() {
+ msg "Connecting to GIT server..."
+
+ if [ -d "${srcdir}"/"${_gitname}" ] ; then
+ cd "${_gitname}" && git pull
+ else
+ git clone --depth=1 "${_gitroot}"
+ fi
+
+ [ -d "${srcdir}"/"${_gitname}"-build ] && rm -fr "${srcdir}"/"${_gitname}"-build
+ cp -R "${srcdir}"/"${_gitname}" "${srcdir}"/"${_gitname}"-build
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting build..."
+
+ cd "${srcdir}"/"${_gitname}"-build
+ ./bootstrap
+ ./configure --prefix=/usr
+ make
+}
+package() {
+ cd "${srcdir}"/"${_gitname}"-build
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=()