summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD45
3 files changed, 36 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4641d9aa92e..b2db012af4b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Sat Jan 20 16:26:29 UTC 2018
pkgbase = lib32-libass
pkgdesc = A portable library for SSA/ASS subtitles rendering (32 bit)
pkgver = 0.14.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/libass/libass/
arch = x86_64
license = BSD
@@ -12,12 +10,12 @@ pkgbase = lib32-libass
depends = libass
depends = lib32-fontconfig
depends = lib32-fribidi
- depends = lib32-harfbuzz
- depends = lib32-glibc
depends = lib32-glib2
+ depends = lib32-glibc
+ depends = libfreetype.so
provides = libass.so
- source = https://github.com/libass/libass//releases/download/0.14.0/libass-0.14.0.tar.xz
- md5sums = 5b8c23340654587b8a472cb74ee9366b
+ source = https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz
+ sha256sums = 881f2382af48aead75b7a0e02e65d88c5ebd369fe46bc77d9270a94aa8fd38a2
pkgname = lib32-libass
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..388942b57d7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.pkg.tar
+*.tar.xz
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index 315841c3ec5..50d9cf60b0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,43 @@
-# Maintainet: GordonGR <ntheo1979@gmail.com>
+# Contributor: GordonGR <ntheo1979@gmail.com>
# Contributor: Johannes Dewender arch at JonnyJD dot net
# Contributor: jospehgbr <rafael.f.f1@gmail.com>
+# Maintainer: Adam <adam900710@gmail.com>
_pkgname=libass
pkgname=lib32-${_pkgname}
pkgver=0.14.0
-pkgrel=2
-pkgdesc="A portable library for SSA/ASS subtitles rendering (32 bit)"
+pkgrel=3
+pkgdesc='A portable library for SSA/ASS subtitles rendering (32 bit)'
arch=('x86_64')
url='https://github.com/libass/libass/'
license=('BSD')
-depends=("${_pkgname}" 'lib32-fontconfig' 'lib32-fribidi' 'lib32-harfbuzz' 'lib32-glibc' 'lib32-glib2')
-provides=('libass.so')
+depends=("${_pkgname}" 'lib32-fontconfig' 'lib32-fribidi' 'lib32-glib2' 'lib32-glibc'
+ 'libfreetype.so')
makedepends=('gcc-multilib' 'nasm')
-source=("${url}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tar.xz")
-md5sums=('5b8c23340654587b8a472cb74ee9366b')
+provides=('libass.so')
+source=("https://github.com/libass/libass/releases/download/${pkgver}/libass-${pkgver}.tar.xz")
+sha256sums=('881f2382af48aead75b7a0e02e65d88c5ebd369fe46bc77d9270a94aa8fd38a2')
build() {
-export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-export CC='gcc -m32'
-cd "${_pkgname}-${pkgver}"
-./configure --prefix=/usr --libdir=/usr/lib32 --host=i686-linux-gnu \
- --enable-harfbuzz \
- --enable-fontconfig
-make
+ cd "${_pkgname}-${pkgver}"
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ export CC='gcc -m32'
+
+ ./configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32' \
+ --host=i686-linux-gnu \
+ --enable-harfbuzz \
+ --enable-fontconfig
+ make
}
package() {
-cd "${_pkgname}-${pkgver}"
-make DESTDIR="${pkgdir}" install
-install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-rm -rf "${pkgdir}"/usr/include
+ cd "${_pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+ rm -rf "${pkgdir}"/usr/include
}
+
+# vim: ts=2 sw=2 et: