diff options
author | prspkt <prspkt@protonmail.com> | 2018-07-15 19:36:05 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-07-19 08:59:37 +0000 |
commit | f96df33aed05055667c4b2455c14a31f95d62394 (patch) | |
tree | 7230198ea3149d31484953ade8ce63de61485d67 /main/libass | |
parent | 1ed623639efb63333ac8e12365dff1ab5f0d66cb (diff) | |
download | aports-f96df33aed05055667c4b2455c14a31f95d62394.tar.bz2 aports-f96df33aed05055667c4b2455c14a31f95d62394.tar.xz |
main/libass: upgrade to 0.14.0, modernise
Diffstat (limited to 'main/libass')
-rw-r--r-- | main/libass/APKBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/main/libass/APKBUILD b/main/libass/APKBUILD index d0851f76f7..7bc08926f5 100644 --- a/main/libass/APKBUILD +++ b/main/libass/APKBUILD @@ -4,9 +4,9 @@ # Contributor: Jakub Skrzypnik <j.skrzypnik@openmailbox.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libass -pkgver=0.13.7 -pkgrel=1 -pkgdesc="A portable library for SSA/ASS subtitles rendering" +pkgver=0.14.0 +pkgrel=0 +pkgdesc="Portable library for SSA/ASS subtitle rendering" url="https://github.com/libass/libass" arch="all" license="ISC" @@ -14,9 +14,9 @@ depends="" depends_dev="enca-dev fontconfig-dev fribidi-dev freetype-dev" makedepends="$depends_dev" subpackages="$pkgname-dev" -source="https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz" +source="https://github.com/libass/libass/releases/download/$pkgver/$pkgname-$pkgver.tar.xz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver # secfixes: # 0.13.4-r0: @@ -26,7 +26,7 @@ _builddir="$srcdir"/$pkgname-$pkgver # - CVE-2016-7972 build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -34,14 +34,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } -sha512sums="8f5531ab5ace0b4ec6160f37b2553b6f06f761a0e12b3521e1b6c78387f7b3b98f24f310a9a9ea47d76fc5529f3cd318c88bd770e08600b71c81f95a43258a21 libass-0.13.7.tar.xz" +sha512sums="0f5fe5d7e662ee1d649981f829e5ef7a53457754f74faaed5679252a5a6769c8f267b6119cda922ebc6a8e5b5b331569f13813ac74881b4e94da7b2e8143a9e6 libass-0.14.0.tar.xz" |