1 # Contributor: Thore Bunde <root@netpimp.de>
2 # Contributor: sh0 <mee@sh0.org>
8 pkgdesc="Next generation WMI (Window Manager Version 2)"
11 url="http://wmii.suckless.org/"
12 #depends=('glibc' 'libx11' 'libixp' 'dmenu' 'libxt')
13 depends=('glibc' 'libx11' 'libxt' '9base')
14 options=('!makeflags')
17 source=(http://dl.suckless.org/${_pkgname}/$_pkgname-$pkgver.tar.gz)
18 md5sums=('61677e625be99732860e423b7074127f')
21 cd $srcdir/$_pkgname-$pkgver
22 sed -i -e 's?PREFIX = /usr/local?PREFIX = /usr?g' \
23 -e 's?CONFPREFIX = ${PREFIX}/etc?CONFPREFIX = /etc?g' \
24 -e 's?9PREFIX = ${PREFIX}/9?9PREFIX = /opt/plan9?g' config.mk
29 cd $srcdir/$_pkgname-$pkgver
30 make DESTDIR=$pkgdir install || return 1
31 install -Dm644 LICENSE $pkgdir/usr/share/licenses/wmii/LICENSE
32 # Rid paths of temporary install directory.