diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-03-03 16:10:29 +0100 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-03-04 19:27:36 +0000 |
commit | dd0e78a8b2bd54cf1c205bc495636f5e2557b6ce (patch) | |
tree | 8ef5b8121f97e2a5a41f52202e6b970da8bccc99 | |
parent | f11c93c5d4f87c885a8d3ef7edaf077399226a6f (diff) | |
download | aports-dd0e78a8b2bd54cf1c205bc495636f5e2557b6ce.tar.bz2 aports-dd0e78a8b2bd54cf1c205bc495636f5e2557b6ce.tar.xz |
main/libbluray: upgrade to 1.0.0 and modernize abuild
-rw-r--r-- | main/libbluray/APKBUILD | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/main/libbluray/APKBUILD b/main/libbluray/APKBUILD index 570bc248d6..614a32b63b 100644 --- a/main/libbluray/APKBUILD +++ b/main/libbluray/APKBUILD @@ -1,32 +1,18 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=libbluray -pkgver=0.9.2 +pkgver=1.0.0 pkgrel=0 pkgdesc="a library designed for Blu-Ray Discs playback" url="http://www.videolan.org/developers/libbluray.html" arch="all" license="LGPL" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" subpackages="$pkgname-dev" source="http://download.videolan.org/pub/videolan/libbluray/$pkgver/libbluray-$pkgver.tar.bz2" - -_builddir="$srcdir"/libbluray-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/libbluray-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ @@ -44,10 +30,8 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="836b2de16547776bf2726166cf796f13 libbluray-0.9.2.tar.bz2" -sha256sums="efc994f42d2bce6af2ce69d05ba89dbbd88bcec7aca065de094fb3a7880ce7ea libbluray-0.9.2.tar.bz2" -sha512sums="f7fda2ef4c0ec70eb9a38aed0e76d21d8784410cb13713e7ee66ecd23a1cc58325977b046d40c526554a4a4e4cf96706a233e15451bf34892aff201b47e25aef libbluray-0.9.2.tar.bz2" +sha512sums="fcf2193c3b76f3436bc88ce8853cac16f29c3bb6c66447109c14202a41ea938cb6814502a8f724fb1b31add6bd36b42d3aed3eb4a8010c123537e073bd7a0be1 libbluray-1.0.0.tar.bz2" |