summaryrefslogtreecommitdiff
path: root/community/guake/PKGBUILD
blob: cd40f51bed4da002c5bb58d2a93b9e2e95325615 (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
32
33
34
35
# $Id: PKGBUILD 63620 2012-02-05 12:01:07Z ibiru $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Wilson Pinto Júnior (N3RD3X) <n3rd3x@linuxmail.org>
pkgname=guake
pkgver=0.4.2
pkgrel=5
pkgdesc='is a drop-down terminal for Gnome Desktop Environment'
arch=('i686' 'x86_64')
url='http://guake.org'
license=('GPL')
depends=('python-notify' 'vte' 'gconf' 'python2-gconf' 'dbus-python' 'notification-daemon')
makedepends=('libx11' 'pkgconfig' 'perlxml' 'intltool')
install=guake.install
source=(http://guake.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
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}