PKGBUILDs/extra/sawfish/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
978 B
Bash

# $Id: PKGBUILD 53264 2009-09-27 15:04:39Z juergen $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=sawfish
pkgver=1.5.2
pkgrel=1
pkgdesc="An extensible window manager using a Lisp-based scripting language"
url="http://sawfish.wikia.com/"
arch=(i686 x86_64)
license=('GPL')
depends=('librep' 'esd' 'gtk2' 'rep-gtk' 'libsm' 'gmp')
source=(http://downloads.sourceforge.net/sourceforge/sawmill/sawfish-$pkgver.tar.bz2 \
sawfish-1.3.5.2-config.h.in.patch)
md5sums=('a263c3e5428bfef7dee28698ec3f0aa3' 'ed0a68f48d5680997f645511b1367678')
install=sawfish.install
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --enable-capplet --libexecdir=/usr/lib/
make || return 1
make DESTDIR=$startdir/pkg install
# info stuff
rm $startdir/pkg/usr/share/info/dir
gzip -9nf $startdir/pkg/usr/share/info/*
mkdir -p $startdir/pkg/etc/X11/sessions/
cp $startdir/src/$pkgname-$pkgver/sawfish.desktop \
$startdir/pkg/etc/X11/sessions/
}