diff options
Diffstat (limited to 'main/opus')
-rw-r--r-- | main/opus/APKBUILD | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/main/opus/APKBUILD b/main/opus/APKBUILD index e18d187b32..2fc3ea3740 100644 --- a/main/opus/APKBUILD +++ b/main/opus/APKBUILD @@ -1,25 +1,17 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=opus -pkgver=1.2 +pkgver=1.2.1 pkgrel=0 pkgdesc="Codec designed for interactive speech and audio transmission over the Internet" url="http://www.opus-codec.org/" arch="all" license="BSD" depends="" -depends_dev="" -makedepends="$depends_dev" -install="" +makedepends="" subpackages="$pkgname-dev $pkgname-doc" source="https://archive.mozilla.org/pub/$pkgname/$pkgname-$pkgver.tar.gz" - -builddir="$srcdir"/opus-$pkgver - -check() { - cd "$builddir" - make check -} +builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" @@ -32,16 +24,20 @@ build() { --infodir=/usr/share/info \ --localstatedir=/var \ --enable-custom-modes \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -Dm644 COPYING \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1 + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } -sha512sums="1bc8489012923c14fc38577c7b9c78368b627b088be55f6c7a40a825864da5006ec36c65686adbeba7e402fdc6ea793d6f1a6dfd281a2aadd79064ff07091ebc opus-1.2.tar.gz" +sha512sums="4a98d0a7dbd1a313e89407576805fd733c1192e8ef7e1137e3260025478a1cf1c5a8b71b48c372a0cffe6340524137fe47f181651888284f8221fb4d673f7cd5 opus-1.2.1.tar.gz" |