summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3ce9a336244..5d43027c5cc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,10 @@
# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
pkgname=libass-git
-pkgver=0.13.7.25.g9b87484
+pkgver=0.15.2.11.g4c3ace7
pkgrel=1
pkgdesc="A portable library for SSA/ASS subtitles rendering. (GIT version)"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url='https://github.com/libass/libass'
license=('custom::ISC')
depends=('fontconfig'
@@ -27,20 +27,21 @@ pkgver() {
}
prepare() {
- cd libass
- ./autogen.sh
+ mkdir -p build
}
build() {
cd libass
- ./configure \
+ autoreconf -vfi
+
+ cd "${srcdir}/build"
+ ../libass/configure \
--prefix=/usr
make
}
package() {
- cd libass
- make DESTDIR="${pkgdir}" install
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ make -C build DESTDIR="${pkgdir}" install
+ install -Dm644 libass/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}