diff options
-rw-r--r-- | main/a52dec/APKBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/main/a52dec/APKBUILD b/main/a52dec/APKBUILD index b9cc43c088..54d2086177 100644 --- a/main/a52dec/APKBUILD +++ b/main/a52dec/APKBUILD @@ -1,20 +1,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=a52dec pkgver=0.7.4 -pkgrel=5 -pkgdesc="liba52 is a free library for decoding ATSC A/52 streams." +pkgrel=6 +pkgdesc="A free library for decoding ATSC A/52 streams." url="http://liba52.sourceforge.net/" arch="all" -license="GPL2" +license="GPL2+" subpackages="$pkgname-dev $pkgname-doc" -depends= +depends="" makedepends="autoconf automake libtool" -source="http://liba52.sourceforge.net/files/$pkgname-$pkgver.tar.gz +source="http://liba52.sourceforge.net/files/a52dec-$pkgver.tar.gz automake.patch $pkgname-$pkgver-build.patch" +_builddir="$srcdir"/a52dec-$pkgver prepare() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -26,7 +27,7 @@ prepare() { } build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -37,11 +38,12 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 install -m644 liba52/a52_internal.h "$pkgdir"/usr/include/a52dec/ || return 1 } + md5sums="caa9f5bc44232dc8aeea773fea56be80 a52dec-0.7.4.tar.gz 8ebfc507f7efa16ec2dcf8f6b11c985d automake.patch fa16f224a7dceb7613824380abef0052 a52dec-0.7.4-build.patch" |