summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2015-06-24 15:11:12 +0200
committerJohannes Dewender2015-06-24 15:11:12 +0200
commitf69c8bf06caf5d607bc7d171d23a51280e9b8e7b (patch)
tree86da088a9715f98037c5ab636740917287498b6f
downloadaur-f69c8bf06caf5d607bc7d171d23a51280e9b8e7b.tar.gz
lib32-libass: import from AUR 3
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD30
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d667657a943
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = lib32-libass
+ pkgdesc = A portable library for SSA/ASS subtitles rendering (32 bit)
+ pkgver = 0.10.1
+ pkgrel = 1
+ url = http://code.google.com/p/libass/
+ arch = x86_64
+ license = BSD
+ makedepends = gcc-multilib
+ depends = lib32-enca
+ depends = lib32-fontconfig
+ depends = lib32-fribidi
+ depends = libass
+ options = !libtool
+ source = http://libass.googlecode.com/files/libass-0.10.1.tar.xz
+ md5sums = 0f54b1f3a24fa897ebbbcc5bc744b32a
+
+pkgname = lib32-libass
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..bd9b4a41adc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+*.tar.gz
+*.tar.xz
+*.tgz
+*.rpm
+*.zip
+*.bz2
+src/
+pkg/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..59df24a31ca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: jospehgbr <rafael.f.f1@gmail.com>
+
+_pkgbase=libass
+pkgname=lib32-${_pkgbase}
+pkgver=0.10.1
+pkgrel=1
+pkgdesc="A portable library for SSA/ASS subtitles rendering (32 bit)"
+arch=('x86_64')
+url="http://code.google.com/p/libass/"
+license=('BSD')
+depends=('lib32-enca' 'lib32-fontconfig' 'lib32-fribidi' "${_pkgbase}")
+makedepends=('gcc-multilib')
+options=(!libtool)
+source=("http://libass.googlecode.com/files/${_pkgbase}-${pkgver}.tar.xz")
+md5sums=('0f54b1f3a24fa897ebbbcc5bc744b32a')
+
+build() {
+ export CC='gcc -m32'
+ cd ${_pkgbase}-${pkgver}
+ ./configure --prefix=/usr --libdir=/usr/lib32 \
+ --disable-harfbuzz
+ make
+}
+
+package() {
+ make -C ${_pkgbase}-${pkgver} DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/include
+ install -dm755 "${pkgdir}"/usr/share/licenses
+ ln -s ${_pkgbase} "${pkgdir}"/usr/share/licenses/${pkgname}
+}