summaryrefslogtreecommitdiff
path: root/community/guake/PKGBUILD
blob: 91e7a7333bbac3621f395e4c498d5deb0c771a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 33304 2010-11-23 20:21:25Z angvp $
# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: Wilson Pinto Júnior (N3RD3X) <n3rd3x@linuxmail.org>
pkgname=guake
pkgver=0.4.2
pkgrel=4
pkgdesc='is a drop-down terminal for Gnome Desktop Environment'
arch=('i686' 'x86_64' 'mips64el')
url='http://guake-terminal.org'
license=('GPL')
depends=('python-notify' 'vte' 'gconf' 'python2-gconf' 'dbus-python' 'notification-daemon')
makedepends=('libx11' 'pkgconfig' 'perlxml' 'intltool')
install=guake.install
source=(http://trac.guake-terminal.org/files/guake-$pkgver.tar.gz
        http://guake.org/raw-attachment/ticket/246/0001-Retrieve-port-as-int.2.patch)
md5sums=('1f0feff3bfc15c998147dbf07d9d8a8e'
         '9aca6ba8e46ae1b69958cda0e03320ff')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  # Point Python scripts to the python2 binary
  sed -i 's|bin/python"|bin/python2"|' src/guake{,-prefs}.in

  # Patch to import proxy port setting as int (http://guake.org/ticket/246)
  patch -Np1 -i "$srcdir/0001-Retrieve-port-as-int.2.patch"

  ./configure --sysconfdir=/usr/share --prefix=/usr --disable-static
  make
  make DESTDIR="$pkgdir" install
}