updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mk / PKGBUILD
blob9236ad9b771f7438cd3451ceb1b606a222db8217
1 # $Id: $
2 # Maintainer:  Russ Cox <rsc@swtch.com>
3 # Contributor: Kai Hendry <hendry@iki.fi>
4 pkgname=mk
5 pkgver=0.1
6 pkgrel=1
7 pkgdesc="plan9 make"
8 arch=(i686 x86_64)
9 url="http://swtch.com/plan9port/unix"
10 license=('MIT')
11 source=(http://swtch.com/plan9port/unix/mk-with-libs.tgz
12         destdir.patch)
13 md5sums=('fdc0717b82f1a62cfaf9cf3155a7df00'
14          '9b50c0dd01a791729de2493eab8809a4')
16 build() {
17   cd "$srcdir/$pkgname"
19   patch -Np1 -i "${srcdir}/destdir.patch" || return 1
21   make || return 1
22   make PREFIX="/usr" DESTDIR="$pkgdir/" install
24   # /usr/share/man/man3/bio.3.gz is owned by openssl
25   rm $pkgdir/usr/share/man/man3/bio.3