1 # Contributor: Roman Kyrylych <roman@archlinux.org>
2 # Contributor: Achraf cherti <achrafcherti@gmail.com>
7 pkgdesc='Powerful window and workspace switching using the Super key'
9 url='http://code.google.com/p/superswitcher/'
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')
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
38 cd ${pkgname}-${pkgver}
40 make prefix=${pkgdir}/usr install