diff options
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/aacskeys/PKGBUILD | 51 | ||||
-rw-r--r-- | abs/extra/libaacs-git/PKGBUILD | 43 | ||||
-rw-r--r-- | abs/extra/premake/PKGBUILD | 25 |
3 files changed, 119 insertions, 0 deletions
diff --git a/abs/extra/aacskeys/PKGBUILD b/abs/extra/aacskeys/PKGBUILD new file mode 100644 index 0000000..977aef5 --- /dev/null +++ b/abs/extra/aacskeys/PKGBUILD @@ -0,0 +1,51 @@ +# Submitter: Paul Burton <paulburton89@gmail.com> +# Maintainer: Zebulon <zeb@zebulon.org.uk> +pkgname=aacskeys +pkgver="0.4.0e" +pkgrel=2 +pkgdesc="A library and program to retrieve decryption keys for HD discs" +arch=('i686' 'x86_64') +url="http://forum.doom9.org/showthread.php?t=123311" +license=('custom') +depends=('openssl') +makedepends=('java-environment' 'premake') +source=(http://debian-multimedia.org/pool/main/a/aacskeys/${pkgname}_0.4.0e.orig.tar.gz + http://deb-multimedia.org/pool/main/a/aacskeys/aacskeys_0.4.0e-dmo2.diff.gz) +sha1sums=('8790f0d4098d6bc83304ad2136cc9681374df83a' + '325504f38a5ac1e9f7be740a602faa2c8d4b812c') + +build() { + + cd "${srcdir}/$pkgname-$pkgver" + patch -Np1 -i ../${pkgname}_$pkgver-dmo2.diff + + # Paranoia: remove binaries, make sure they aren't used + rm -rf bin lib + + # If java-environement is installed for the first time + # we need to source profile to set JAVA_HOME + # source /etc/profile + + sed -i 's|/usr/local/ssl/include|/usr/include|' premake.lua + sed -i 's|/usr/local/ssl/lib|/usr/lib|' premake.lua + sed -i "s|/usr/lib/jvm/java-6-sun/include|$JAVA_HOME/include|" premake.lua + + make || return 1 +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + + # Install lib + mkdir -p ${pkgdir}/usr/lib + cp lib/linux/libaacskeys.so ${pkgdir}/usr/lib/ || return 1 + + # Install program + mkdir -p ${pkgdir}/usr/bin + cp bin/linux/aacskeys ${pkgdir}/usr/bin || return 1 + + # Install resources + mkdir -p ${pkgdir}/usr/share/$pkgname + cp ./debian/HostKeyCertificate_PS3.txt ${pkgdir}/usr/share/$pkgname/HostKeyCertificate.txt || return 1 + cp ./debian/ProcessingDeviceKeysSimple.txt ${pkgdir}/usr/share/$pkgname/ || return 1 +} 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=() diff --git a/abs/extra/premake/PKGBUILD b/abs/extra/premake/PKGBUILD new file mode 100644 index 0000000..f4343e1 --- /dev/null +++ b/abs/extra/premake/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Anders Bergh <anders1@gmail.com> +# Contributor: Mildred <silkensedai@online.fr> +# Maintainer: Daniel J Griffiths <griffithsdj@archlinux.us> + +pkgname=premake +pkgver=3.7 +pkgrel=1 +pkgdesc="A build configuration tool. Describe your build using Lua and generate \ +the project files for your specific toolset." +arch=('i686' 'x86_64') +url="http://premake.sourceforge.net" +license=('GPL') +makedepends=() +source=("http://downloads.sourceforge.net/sourceforge/premake/premake-src-${pkgver}.zip") +md5sums=('8d30dc5bbc52aad81abb1509c1dd7d8f') + +build() { + cd ${srcdir}/Premake-${pkgver} + make || return 1 +} + +package() { + cd ${srcdir}/Premake-${pkgver} + install -Dm755 bin/premake ${pkgdir}/usr/bin/premake +} |