From bcb357cc50a5637a1f354ce1430e2519644da024 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 15 Feb 2018 21:52:10 +0000 Subject: fribidi: update to 1.0.1+8 --- abs/core/fribidi/PKGBUILD | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/abs/core/fribidi/PKGBUILD b/abs/core/fribidi/PKGBUILD index 1a955d4..e599369 100644 --- a/abs/core/fribidi/PKGBUILD +++ b/abs/core/fribidi/PKGBUILD @@ -3,26 +3,44 @@ # Contributor: Nezmer pkgname=fribidi -pkgver=0.19.7 +pkgver=1.0.1+8+gdf7252b pkgrel=1 pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm" -arch=('i686' 'x86_64') +arch=('x86_64') license=('LGPL') -url="http://fribidi.org" -depends=('glib2') -source=("http://fribidi.org/download/${pkgname}-${pkgver}.tar.bz2") -md5sums=('6c7e7cfdd39c908f7ac619351c1c5c23') +url="https://github.com/fribidi/fribidi/" +makedepends=(git glib2) +depends=('glibc') +options=('!makeflags') +_commit=df7252be3fd94ceae8141a09ee86421fdd8b3b7e # master +source=("git+https://github.com/fribidi/fribidi#commit=$_commit") +md5sums=('SKIP') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" +pkgver() { + cd $pkgname + git describe --tags | sed -e 's/-/+/g' -e 's/^v//' +} - ./configure --prefix=/usr +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd "${srcdir}/$pkgname" + ./configure --prefix=/usr + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/$pkgname" make DESTDIR="${pkgdir}" install } + +check() { + cd "${srcdir}/$pkgname" + make check +} -- cgit v0.12