From f9e6884719d434a762c185a992bae4d15cafb64d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 28 Dec 2019 04:16:28 -0600 Subject: user/[multimedia libs]: fix syntax and modernise --- user/opus/APKBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'user/opus') diff --git a/user/opus/APKBUILD b/user/opus/APKBUILD index 7d6854a1b..5251ec8b0 100644 --- a/user/opus/APKBUILD +++ b/user/opus/APKBUILD @@ -7,13 +7,12 @@ pkgdesc="Codec designed for speech and audio transmission" url="http://www.opus-codec.org/" arch="all" license="BSD-3-Clause" +depends="" +makedepends="" subpackages="$pkgname-dev $pkgname-doc" source="https://archive.mozilla.org/pub/$pkgname/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" - CFLAGS="$(printf '%s' "$CFLAGS" | sed 's/-Os/-O2/')" \ ./configure \ --build=$CBUILD \ @@ -28,13 +27,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install install -Dm644 COPYING \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -- cgit v1.2.3-70-g09d2