Date: Saturday, February 18, 2017 @ 12:25:45 Author: jgc Revision: 289175
upgpkg: pangox-compat 0.0.2+2+gedb9e09-1 Modified: pangox-compat/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-02-18 12:13:57 UTC (rev 289174) +++ PKGBUILD 2017-02-18 12:25:45 UTC (rev 289175) @@ -2,25 +2,38 @@ # Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> pkgname=pangox-compat -pkgver=0.0.2 -pkgrel=2 +pkgver=0.0.2+2+gedb9e09 +pkgrel=1 pkgdesc="X Window System font support for Pango" arch=('i686' 'x86_64') license=('LGPL') depends=('pango') -source=(https://download.gnome.org/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz) +makedepends=(git) +_commit=edb9e0904d04d1da02bba7b78601a2aba05aaa47 # master +source=("git+https://git.gnome.org/browse/pangox-compat#commit=$_commit") url="http://www.pango.org/" -sha256sums=('552092b3b6c23f47f4beee05495d0f9a153781f62a1c4b7ec53857a37dfce046') +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd ${pkgname}-${pkgver} + cd $pkgname ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-static + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { - cd ${pkgname}-${pkgver} + cd $pkgname make -j1 DESTDIR="${pkgdir}" install }