updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / wmi / PKGBUILD
blob4c6e68efa0a6c33077cae706aeb0e2cecb1cf877
1 # Contributor: Fabio Scotoni <fabio@esse.ch>
2 pkgname=wmi
3 pkgver=10
4 pkgrel=1
5 pkgdesc="The predecessor of wmii."
6 arch=('i686' 'x86_64') # x86_64 hasn't been tested! It may segfault,
7                        # Eliminate your data and what not.
8                        # You have been warned!
9 url="http://www.suckless.org"
10 # But you won't find any page to wmi
11 license=('custom:MIT')
12 depends=() # And an X-Server of course, but we don't want to force anything.
13 makedepends=('sed' 'awk' 'findutils' 'make')
14 options=('docs')
15 # You really shouldn't disable this option, as you probably need
16 # this only form of documentation to wmi, but the source.
17 source=("http://code.suckless.org/dl/misc/$pkgname-$pkgver.tar.gz" \
18 "wmi-10-compile-fixes.patch")
19 md5sums=('6728ae28aaa172db3df1e3c2bc483b23'
20          'f4035f1495f8bdbb13f2dc9e9b538161')
22 build() {
23   cd "$srcdir/$pkgname-$pkgver"
25   ./configure --prefix=/usr
26   patch -p1 -i../wmi-10-compile-fixes.patch
27   # All thanks for this patch please go to Sergey Dolgov.
28   # I found it on the mailing list.
29   # By the way: Thank you, Sergey Dolgov!
30   make || return 1
31   make DESTDIR="$pkgdir" install
34 # vim:set ts=2 sw=2 et: