summaryrefslogtreecommitdiff
path: root/user/opus/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 04:16:28 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 04:16:28 -0600
commitf9e6884719d434a762c185a992bae4d15cafb64d (patch)
tree27b5f85b9ead4621b722d83425b52ffded759304 /user/opus/APKBUILD
parent1453ddd8e78f5eede71f072dc60a4537348c09ef (diff)
downloadpackages-f9e6884719d434a762c185a992bae4d15cafb64d.tar.gz
packages-f9e6884719d434a762c185a992bae4d15cafb64d.tar.bz2
packages-f9e6884719d434a762c185a992bae4d15cafb64d.tar.xz
packages-f9e6884719d434a762c185a992bae4d15cafb64d.zip
user/[multimedia libs]: fix syntax and modernise
Diffstat (limited to 'user/opus/APKBUILD')
-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"