From 73792b47a5a952ff24fa690f75c0c04e69710ad8 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 10 Aug 2018 10:24:37 -0500 Subject: user/libass: new package --- user/libass/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 user/libass/APKBUILD (limited to 'user') diff --git a/user/libass/APKBUILD b/user/libass/APKBUILD new file mode 100644 index 000000000..3b9b22908 --- /dev/null +++ b/user/libass/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman +pkgname=libass +pkgver=0.14.0 +pkgrel=0 +pkgdesc="Portable library for rendering (Advanced) Substation Alpha subtitles" +url="https://github.com/libass/libass" +arch="all" +license="ISC" +makedepends="freetype-dev fribidi-dev fontconfig-dev harfbuzz-dev" +subpackages="$pkgname-dev" +source="https://github.com/libass/libass/releases/download/$pkgver/libass-$pkgver.tar.xz" +sha512sums="0f5fe5d7e662ee1d649981f829e5ef7a53457754f74faaed5679252a5a6769c8f267b6119cda922ebc6a8e5b5b331569f13813ac74881b4e94da7b2e8143a9e6 libass-0.14.0.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + -- cgit v1.2.3-70-g09d2