aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-02-19 07:54:10 +0200
committerprspkt <prspkt@protonmail.com>2019-02-19 08:29:48 +0200
commit0f3b7357c6ca362b8713fdbb805d1a4d07f5eb7f (patch)
treef78e230b88623fec2239236469133b79b36d3e1a
parent4336ee816a2878269f3f5d016ae136da5284dfe6 (diff)
downloadaports-0f3b7357c6ca362b8713fdbb805d1a4d07f5eb7f.tar.gz
aports-0f3b7357c6ca362b8713fdbb805d1a4d07f5eb7f.tar.bz2
aports-0f3b7357c6ca362b8713fdbb805d1a4d07f5eb7f.tar.xz
community/opus-tools: clarify license, modernize
-rw-r--r--community/opus-tools/APKBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/community/opus-tools/APKBUILD b/community/opus-tools/APKBUILD
index 40b649cb57..c9e6b9946b 100644
--- a/community/opus-tools/APKBUILD
+++ b/community/opus-tools/APKBUILD
@@ -6,11 +6,11 @@ pkgrel=0
pkgdesc="Collection of tools for Opus audio codec"
url="https://wiki.xiph.org/Opus-tools"
arch="all"
-license="BSD"
+license="BSD-2-Clause"
depends=""
makedepends="libogg-dev opus-dev flac-dev linux-headers"
subpackages="$pkgname-doc"
-source="pkgname-$pkgver.tar.gz::http://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz"
+source="https://archive.mozilla.org/pub/opus/opus-tools-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
@@ -20,16 +20,13 @@ build() {
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
- --enable-assertions \
- || return 1
- make || return 1
+ --enable-assertions
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="6b78535d58b94832710b14e219f65a91 pkgname-0.1.10.tar.gz"
-sha256sums="a2357532d19471b70666e0e0ec17d514246d8b3cb2eb168f68bb0f6fd372b28c pkgname-0.1.10.tar.gz"
-sha512sums="4ead97b9fe4658968a4b5cbe4bde5e2d8cbfaaea18dd0d817597cc6b6b11f26937b9eee7358ade63568f0213131aa80ecbed169d1b3885980a556871a4a7fe98 pkgname-0.1.10.tar.gz"
+sha512sums="4ead97b9fe4658968a4b5cbe4bde5e2d8cbfaaea18dd0d817597cc6b6b11f26937b9eee7358ade63568f0213131aa80ecbed169d1b3885980a556871a4a7fe98 opus-tools-0.1.10.tar.gz"