summaryrefslogtreecommitdiff
path: root/community/superswitcher
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/superswitcher
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/superswitcher')
-rw-r--r--community/superswitcher/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/superswitcher/PKGBUILD b/community/superswitcher/PKGBUILD
new file mode 100644
index 000000000..e085e303c
--- /dev/null
+++ b/community/superswitcher/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 21339 2010-07-16 01:26:50Z tdziedzic $
+# Maintainer: Roman Kyrylych <roman@archlinux.org>
+# Contributor: Achraf cherti <achrafcherti@gmail.com>
+
+pkgname=superswitcher
+pkgver=0.6
+pkgrel=3
+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')
+source=("http://superswitcher.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+md5sums=('e8620c8502dccc3f3d3d84e0eb359142')
+options=('!emptydirs')
+
+build() {
+ cd ${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
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make prefix=${pkgdir}/usr install
+}