updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / ctwm / PKGBUILD
blob6a87887bae28932d0d2bdc270dba28fbc7821d3a
1 # Contributor: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: Stefan Husmann <stefan.husmann@t-online.de>
3 # Contributor: flixie <69one@gmx.net>
4 pkgname=ctwm
5 pkgver=3.8a
6 pkgrel=8
7 pkgdesc="Claude's Tab Window Manager"
8 arch=('i686' 'x86_64')
9 url="http://ctwm.free.lp.se/"
10 license=('custom:MIT/X Consortium')
11 depends=('glibc')
12 makedepends=('imake' 'setconf')
13 backup=('etc/X11/ctwm/system.ctwmrc')
14 source=("http://ctwm.free.lp.se/dist/ctwm-3.8a.tar.gz"
15         "Imakefile.local"
16         "copyright")
17 md5sums=('ceaf40ef0f1bda3cc8b7c91144d92123'
18          '6aa3163218bb5130b4f3f0ae1401cb4a'
19          '27dfbec8866ff55e54f6232a2d2d2de8')
21 build() {
22   cd "$srcdir/$pkgname-$pkgver"
24   msg "Configuring..."
25   setconf Imakefile CONFDIR /etc/X11/ctwm
26   setconf Imakefile PIXMAPDIR /etc/X11/ctwm/images
27   install -Dm644 $srcdir/Imakefile.local $srcdir/$pkgname-$pkgver
28    
29   msg "Building..."
30   xmkmf || return 1
31   make || return 1
32   make DESTDIR=$pkgdir install || return 1
33   make DESTDIR=$pkgdir install.man || return 1
34   # The contents of the copyright file is gathered from the ctwm manpage
35   install -Dm644 "$srcdir/copyright" \
36     "$pkgdir/usr/share/licenses/ctwm/copyright" || return 1
38 # vim:set ts=2 sw=2 et: