summaryrefslogtreecommitdiff
path: root/user/libass/APKBUILD
diff options
context:
space:
mode:
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
+}
+