summaryrefslogtreecommitdiff
path: root/user/libass/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-10 10:24:37 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-10 10:24:37 -0500
commit73792b47a5a952ff24fa690f75c0c04e69710ad8 (patch)
treeb892054ce5a2b1c69b824034aca9dd49f511e9e7 /user/libass/APKBUILD
parentf5806b8c74d037f4a1b612d613ec8af0bae12a9a (diff)
downloadpackages-73792b47a5a952ff24fa690f75c0c04e69710ad8.tar.gz
packages-73792b47a5a952ff24fa690f75c0c04e69710ad8.tar.bz2
packages-73792b47a5a952ff24fa690f75c0c04e69710ad8.tar.xz
packages-73792b47a5a952ff24fa690f75c0c04e69710ad8.zip
user/libass: new package
Diffstat (limited to 'user/libass/APKBUILD')
-rw-r--r--user/libass/APKBUILD36
1 files changed, 36 insertions, 0 deletions
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 <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+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
+}
+