Date: Wednesday, February 14, 2018 @ 10:51:28 Author: jgc Revision: 316994
upgpkg: fribidi 1.0.1+8+gdf7252b-1 Modified: fribidi/trunk/PKGBUILD ----------+ PKGBUILD | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-02-14 07:45:23 UTC (rev 316993) +++ PKGBUILD 2018-02-14 10:51:28 UTC (rev 316994) @@ -3,40 +3,44 @@ # Contributor: Nezmer <nez...@gmail.com> pkgname=fribidi -pkgver=0.19.7 -pkgrel=2 +pkgver=1.0.1+8+gdf7252b +pkgrel=1 pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm" arch=('x86_64') license=('LGPL') url="https://github.com/fribidi/fribidi/" -depends=('glib2') -makedepends=(git) -_commit=1a6935cd8cd7d907fb3c5f3bcae174bee727c83d # tags/0.19.7^0 +makedepends=(git glib2) +depends=('glibc') +options=('!makeflags') +_commit=df7252be3fd94ceae8141a09ee86421fdd8b3b7e # master source=("git+https://github.com/fribidi/fribidi#commit=$_commit") md5sums=('SKIP') pkgver() { cd $pkgname - git describe --tags | sed 's/-/+/g' + git describe --tags | sed -e 's/-/+/g' -e 's/^v//' } prepare() { cd $pkgname - git cherry-pick -n 0efbaa9052320a951823a6e776b30a580e3a2b4e - ./bootstrap + NOCONFIGURE=1 ./autogen.sh } build() { cd "${srcdir}/$pkgname" - ./configure --prefix=/usr - - make -j1 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make } package() { cd "${srcdir}/$pkgname" - make -j1 DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install } + +check() { + cd "${srcdir}/$pkgname" + make check +}