PKGBUILDs/community/superswitcher/PKGBUILD
2009-10-09 21:15:33 -05:00

30 lines
999 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
# Contributor: Achraf cherti <achrafcherti@gmail.com>
pkgname=superswitcher
pkgver=0.6
pkgrel=2
pkgdesc="Powerful window and workspace switching using the Super key"
arch=('i686' 'x86_64')
url="http://code.google.com/p/superswitcher/"
license=('GPL')
depends=('gconf' 'libwnck' 'dbus-glib')
makedepends=('intltool')
#install=superswitcher.install
source=(http://superswitcher.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('e8620c8502dccc3f3d3d84e0eb359142')
options=(!emptydirs)
build() {
cd $startdir/src/$pkgname-$pkgver
sed -i 's/$(addsuffix .in, $(INTLTOOL_BUILT))/`addsuffix .in, $INTLTOOL_BUILT`/' Makefile.am
sed -i -e 's/\(^GNOME_COMPILE_WARNINGS(yes)\)/#\1/' configure.in
sed -i -e 's/\(AM_CFLAGS = @WARN_CFLAGS@\)/#\1/' src/Makefile.am
aclocal
autoconf
automake --add-missing
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
}