Date: Saturday, March 15, 2014 @ 11:55:15 Author: bgyorgy Revision: 107238
upgpkg: guake 0.4.4-2 Rebuild from new source (FS#39437) Modified: guake/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-03-15 10:43:27 UTC (rev 107237) +++ PKGBUILD 2014-03-15 10:55:15 UTC (rev 107238) @@ -11,30 +11,35 @@ url="http://guake.org/" license=('GPL') depends=('python2-notify' 'vte' 'python2-gconf' 'python2-dbus' 'python2-xdg' 'hicolor-icon-theme' 'xdg-utils') -makedepends=('intltool') +makedepends=('intltool' 'gnome-common') install=$pkgname.install -source=(http://guake.org/files/$pkgname-$pkgver.tar.gz +source=($pkgname-$pkgver.tar.gz::https://github.com/Guake/$pkgname/archive/$pkgver.tar.gz guake-fix-notification.patch) -md5sums=('532adada29b8f0bb79dc15904aa6b70c' +md5sums=('06b424ae32c7e63a8256922f1e8c51b6' '0b57227e6869dd84dd4fb0794ed0d082') prepare() { cd "$srcdir/$pkgname-$pkgver" + # Fix GConf schema dir + sed -i 's|schemadir = $(sysconfdir)/gconf/schemas|schemadir = $(GCONF_SCHEMA_FILE_DIR)|' data/Makefile.am + # Python2 fix - sed -i 's|schemadir = $(sysconfdir)/gconf/schemas|schemadir = $(GCONF_SCHEMA_FILE_DIR)|' data/Makefile.in sed -i 's|/usr/bin/env python|/usr/bin/python2|' src/{guake{,-prefs},prefs.py} # Runtime fix when no notification server available patch -Np1 -i "$srcdir/guake-fix-notification.patch" + + # Fix build + sed -i '/AM_INIT_AUTOMAKE/ s/-Werror//' configure.ac } build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static --disable-schemas-install \ - --with-gconf-schema-file-dir=/usr/share/gconf/schemas \ - PYTHON=python2 + ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-install \ + --with-gconf-schema-file-dir=/usr/share/gconf/schemas \ + PYTHON=python2 make }
