summaryrefslogtreecommitdiff
path: root/user/opus
diff options
context:
space:
mode:
Diffstat (limited to 'user/opus')
-rw-r--r--user/opus/APKBUILD8
1 files changed, 2 insertions, 6 deletions
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"