summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsl1pkn072015-07-09 15:51:29 +0200
committersl1pkn072015-07-09 15:51:29 +0200
commit2f7d4dc0181c1e88ca825e6a5185526195c69f0a (patch)
treef5f9c9a35674bcd62a8a881f8436ab626d935a2e /PKGBUILD
downloadaur-2f7d4dc0181c1e88ca825e6a5185526195c69f0a.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9e2877bca69
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
+
+pkgname=libass-git
+pkgver=0.12.0.101.gc7bfc62
+pkgrel=1
+pkgdesc="A portable library for SSA/ASS subtitles rendering"
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/libass'
+license=('BSD')
+depends=('fontconfig' 'enca' 'fribidi')
+makedepends=('git' 'yasm')
+provides=('libass')
+conflicts=('libass')
+source=('libass::git://github.com/libass/libass.git')
+sha1sums=('SKIP')
+
+pkgver() {
+ cd libass
+ echo "$(git describe --always | tr - .)"
+}
+
+prepare() {
+ cd libass
+ ./autogen.sh
+}
+
+build() {
+ cd libass
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd libass
+ make DESTDIR="${pkgdir}/" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}