diff options
Diffstat (limited to 'community-testing/guake/PKGBUILD')
-rw-r--r-- | community-testing/guake/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community-testing/guake/PKGBUILD b/community-testing/guake/PKGBUILD new file mode 100644 index 000000000..eda3e0c4d --- /dev/null +++ b/community-testing/guake/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 78050 2012-10-16 11:50:47Z allan $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Angel Velasquez <angvp@archlinux.org> +# Contributor: Wilson Pinto Júnior (N3RD3X) <n3rd3x@linuxmail.org> + +pkgname=guake +pkgver=0.4.4 +pkgrel=2 +pkgdesc='Drop-down terminal for GNOME' +arch=('i686' 'x86_64') +url="http://guake.org/" +license=('GPL') +depends=('python2-notify' 'vte' 'python2-gconf' 'python2-dbus' 'python2-xdg' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('intltool') +options=('!libtool') +install=$pkgname.install +source=(http://guake.org/files/$pkgname-$pkgver.tar.gz + guake-fix-notification.patch) +md5sums=('532adada29b8f0bb79dc15904aa6b70c' + '0b57227e6869dd84dd4fb0794ed0d082') + +build() { + cd "$srcdir/$pkgname-$pkgver" + 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} + + # http://guake.org/ticket/416 + patch -Np1 -i "$srcdir/guake-fix-notification.patch" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-install \ + --with-gconf-schema-file-dir=/usr/share/gconf/schemas \ + PYTHON=python2 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} |