aboutsummaryrefslogtreecommitdiffstats
path: root/main/opus/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-09-30 23:48:57 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-09-30 23:55:35 +0200
commit9bf1f43ae24b295436ff747ceae8f96f8818585d (patch)
tree9e50ecfb1f160a5fe802bd570fd6cf7d7b4df00b /main/opus/APKBUILD
parent333721bb1d6055d9f98c58f47392c597be10e866 (diff)
downloadaports-9bf1f43ae24b295436ff747ceae8f96f8818585d.tar.bz2
aports-9bf1f43ae24b295436ff747ceae8f96f8818585d.tar.xz
main/opus: improve abuild
Diffstat (limited to 'main/opus/APKBUILD')
-rw-r--r--main/opus/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/opus/APKBUILD b/main/opus/APKBUILD
index 2fc3ea3740..18f30678da 100644
--- a/main/opus/APKBUILD
+++ b/main/opus/APKBUILD
@@ -7,14 +7,13 @@ pkgdesc="Codec designed for interactive speech and audio transmission over the I
url="http://www.opus-codec.org/"
arch="all"
license="BSD"
-depends=""
-makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://archive.mozilla.org/pub/$pkgname/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
+
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,6 +34,7 @@ check() {
package() {
cd "$builddir"
+
make DESTDIR="$pkgdir" install
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"