updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wmii2 / PKGBUILD
blob31492820dc22cc8dfef9821ae47868f855eb2e4b
1 # Contributor: Thore Bunde <root@netpimp.de>
2 # Contributor: sh0 <mee@sh0.org>
4 _pkgname=wmii
5 pkgname=wmii2
6 pkgver=2.5.2
7 pkgrel=1
8 pkgdesc="Next generation WMI (Window Manager Version 2)"
9 arch=('i686' 'x86_64')
10 license=('MIT')
11 url="http://wmii.suckless.org/"
12 #depends=('glibc' 'libx11' 'libixp' 'dmenu' 'libxt')
13 depends=('glibc' 'libx11' 'libxt' '9base')
14 options=('!makeflags')
15 provides=('wmii2')
16 conflicts=('wmii')
17 source=(http://dl.suckless.org/${_pkgname}/$_pkgname-$pkgver.tar.gz)
18 md5sums=('61677e625be99732860e423b7074127f')
20 build() {
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
25   make || return 1
28 package() {
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.