aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-05 00:00:21 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-05 00:00:21 -0300
commit39450ccf86c5a948d3ce29e7ee047ac526c89439 (patch)
tree7b1c542629a8944c6085bb0eb96b1a6824985a97
parentc14323f82f9c82abfcaae10310319d0c498bfd33 (diff)
downloadaports-39450ccf86c5a948d3ce29e7ee047ac526c89439.tar.gz
aports-39450ccf86c5a948d3ce29e7ee047ac526c89439.tar.bz2
aports-39450ccf86c5a948d3ce29e7ee047ac526c89439.tar.xz
community/vorbis-tools: modernize
-rw-r--r--community/vorbis-tools/APKBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/community/vorbis-tools/APKBUILD b/community/vorbis-tools/APKBUILD
index 3893c0ddec..ae9fe8b7f4 100644
--- a/community/vorbis-tools/APKBUILD
+++ b/community/vorbis-tools/APKBUILD
@@ -2,37 +2,31 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=vorbis-tools
pkgver=1.4.0
-pkgrel=0
+pkgrel=1
pkgdesc="Extra tools for Ogg-Vorbis"
url="https://www.xiph.org/vorbis/"
arch="all"
-license="GPL-2.0"
-depends=""
+license="GPL-2.0-only"
makedepends="curl-dev flac-dev libvorbis-dev libao-dev speex-dev"
-install=""
subpackages="$pkgname-doc $pkgname-lang"
-source="http://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.gz
+source="http://downloads.xiph.org/releases/vorbis/vorbis-tools-$pkgver.tar.gz
vorbis-tools-CVE-2015-6749.patch
vorbis-tools-cve9638-cve9639.patch
vorbis-tools-cve9640.patch"
-builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
- default_prepare || return 1
- update_config_guess || return 1
+ default_prepare
+ update_config_guess
}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--enable-vcut
- make || return 1
+ make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/charset.alias
}