diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-25 07:32:51 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-25 07:44:50 +0000 |
commit | 61eba6aa362d95065366ffef05d991ebd5ff0c6a (patch) | |
tree | 5e071aff9867c36a9d25c1545b89abc98149c77e /testing/mkvtoolnix/APKBUILD | |
parent | 07ee8e47ccd39730201eb180a51d68e4d5aab137 (diff) | |
download | aports-61eba6aa362d95065366ffef05d991ebd5ff0c6a.tar.bz2 aports-61eba6aa362d95065366ffef05d991ebd5ff0c6a.tar.xz |
testing/mkvtoolnix: upgrade to 11.0.0, modernize APKBUILD
Diffstat (limited to 'testing/mkvtoolnix/APKBUILD')
-rw-r--r-- | testing/mkvtoolnix/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/testing/mkvtoolnix/APKBUILD b/testing/mkvtoolnix/APKBUILD index 2998a831f4..527a0217ca 100644 --- a/testing/mkvtoolnix/APKBUILD +++ b/testing/mkvtoolnix/APKBUILD @@ -2,21 +2,19 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=mkvtoolnix -pkgver=9.9.0 +pkgver=11.0.0 pkgrel=0 pkgdesc="Set of tools to create, edit and inspect Matroska files" url="https://mkvtoolnix.download/index.html" arch="all" license="GPL" -depends="" -depends_dev="" makedepends="libmatroska-dev flac-dev libvorbis-dev boost-dev zlib-dev file-dev libogg-dev ruby-rake ruby-json bash docbook-xsl" -install="" +options="!check" subpackages="$pkgname-doc" source="https://mkvtoolnix.download/sources/$pkgname-$pkgver.tar.xz" - builddir="$srcdir"/$pkgname-$pkgver + build() { cd "$builddir" ./configure CC="${CC:-gcc}" CFLAGS="${CFLAGS}" \ @@ -26,14 +24,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ - --without-gettext \ - || return 1 - rake V=1 -j${JOBS} || return + --without-gettext + rake V=1 -j${JOBS} } package() { cd "$builddir" - rake DESTDIR="$pkgdir" install || return 1 + rake DESTDIR="$pkgdir" install } -sha512sums="a00162abd75cf7d34ec14555da4fd80e114473e2a34323f9e1404c807e312ebdc516614643c02e5c22be0e3927e0c3f9ab7ad043d24dc5fd7176cf0719503484 mkvtoolnix-9.9.0.tar.xz" +sha512sums="edd212d651b1c5ff527868a23cc258bf032291392a695858cf083fd10f793393ac2c8de31ddd0ead9d6fc1629dc04c301cbd62bd4afdf6f1c8419adf6217d616 mkvtoolnix-11.0.0.tar.xz" |