updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / cwm / PKGBUILD
blob93a73ad67cced064311402f72bc881841ffd2099
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: xaw <xawl.ch@gmail.com>
4 pkgname=cwm
5 pkgver=3
6 pkgrel=2
7 pkgdesc="A clean and simple window manager for X inspired by evilwm"
8 arch=('i686' 'x86_64')
9 url="http://monkey.org/~marius/pages/?page=cwm"
10 license=('BSD')
11 depends=('libx11' 'libxft')
12 source=(http://monkey.org/~marius/cwm/$pkgname-$pkgver.tar.gz \
13   cwm.desktop)
14 md5sums=('c28f3dab9fe3fcb176e340f8b7b8f292'
15          '6f00ef78c4b5d22bdcdcc77631f17878')
17 build() {
18   cd $srcdir/$pkgname-$pkgver
19   ./configure \
20     --prefix=/usr \
21     --mandir=/usr/share/man || return 1
22   make || return 1
23   make DESTDIR=$pkgdir install
24   install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/xsessions/$pkgname.desktop
25   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE