updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / superswitcher / PKGBUILD
blob6dd1964c7de735a1cb15e4007a1ec14f84375c31
1 # Contributor: Roman Kyrylych <roman@archlinux.org>
2 # Contributor: Achraf cherti <achrafcherti@gmail.com>
4 pkgname=superswitcher
5 pkgver=0.6
6 pkgrel=3
7 pkgdesc='Powerful window and workspace switching using the Super key'
8 arch=('i686' 'x86_64')
9 url='http://code.google.com/p/superswitcher/'
10 license=('GPL')
11 depends=('gconf' 'libwnck' 'dbus-glib')
12 makedepends=('intltool')
13 source=("http://superswitcher.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
14 md5sums=('e8620c8502dccc3f3d3d84e0eb359142')
15 options=('!emptydirs')
17 build() {
18   cd ${pkgname}-${pkgver}
20   sed -i 's/$(addsuffix .in, $(INTLTOOL_BUILT))/`addsuffix .in, $INTLTOOL_BUILT`/' Makefile.am
21   sed -i -e 's/\(^GNOME_COMPILE_WARNINGS(yes)\)/#\1/' configure.in
22   sed -i -e 's/\(AM_CFLAGS = @WARN_CFLAGS@\)/#\1/' src/Makefile.am
24   aclocal
26   autoconf
28   automake \
29     --add-missing
31   ./configure \
32     --prefix=/usr
34   make
37 package() {
38   cd ${pkgname}-${pkgver}
40   make prefix=${pkgdir}/usr install