summaryrefslogtreecommitdiff
path: root/community/sawfish
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/sawfish
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/sawfish')
-rw-r--r--community/sawfish/PKGBUILD29
-rw-r--r--community/sawfish/sawfish.install18
2 files changed, 47 insertions, 0 deletions
diff --git a/community/sawfish/PKGBUILD b/community/sawfish/PKGBUILD
new file mode 100644
index 000000000..be9c48cb1
--- /dev/null
+++ b/community/sawfish/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 42090 2011-03-13 17:55:35Z shusmann $
+# Maintainer: stefan-husmann@t-online.de
+# Contributor: Juergen Hoetzel <juergen@archlinux.org>
+
+pkgname=sawfish
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="An extensible window manager using a Lisp-based scripting language"
+arch=('i686' 'x86_64')
+url="http://sawfish.wikia.com/wiki/Main_Page"
+license=('GPL')
+depends=('rep-gtk' 'libsm' 'hicolor-icon-theme')
+install=${pkgname}.install
+source=(http://download.tuxfamily.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
+sha1sums=('522beb58635166c17eee3e47e6ebc5a39c22122a')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --libexecdir=/usr/lib
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 sawfish-session.desktop \
+ "${pkgdir}/etc/X11/sessions/${pkgname}.desktop"
+}
diff --git a/community/sawfish/sawfish.install b/community/sawfish/sawfish.install
new file mode 100644
index 000000000..340fe8596
--- /dev/null
+++ b/community/sawfish/sawfish.install
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+file=sawfish.info
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}