Date: Tuesday, September 27, 2016 @ 20:10:17 Author: heftig Revision: 277154
9.0.1-1 Modified: gucharmap/trunk/PKGBUILD ----------+ PKGBUILD | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-27 20:07:32 UTC (rev 277153) +++ PKGBUILD 2016-09-27 20:10:17 UTC (rev 277154) @@ -3,7 +3,7 @@ # Contributor: Jan De Groot <j...@archlinux.org> pkgname=gucharmap -pkgver=9.0.0 +pkgver=9.0.1 pkgrel=1 pkgdesc="Gnome Unicode Charmap" url="https://wiki.gnome.org/Apps/Gucharmap" @@ -11,14 +11,25 @@ license=(GPL) depends=(dconf gtk3) makedepends=(gtk-doc intltool gobject-introspection itstool docbook-xsl - python2 appdata-tools unicode-character-database unzip) + python2 appdata-tools unicode-character-database unzip gnome-common git) options=(!emptydirs) groups=(gnome) -source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) -sha256sums=('d698ce4bba5486f7e32e9a4ec0ecd916926fb876640856746121d8ae8012765c') +_commit=97b9ed524fd81bcd1d18e03ab81e8a501874f2c4 # tags/9.0.1^0 +source=("git://git.gnome.org/gucharmap#commit=$_commit") +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 \ --disable-schemas-compile --enable-introspection \ @@ -27,6 +38,6 @@ } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install }