updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / mk-configure / PKGBUILD
blobc7073ddcc1f65a4e893056421d44d8ce01547161
1 # Maintainer: Quentin Stievenart <quentin.stievenart@gmail.com>
3 pkgname=mk-configure
4 pkgver=0.21.0
5 pkgrel=1
6 pkgdesc="Lightweight replacement for autotools"
7 arch=('i686' 'x86_64')
8 license=('BSD')
9 url="http://sourceforge.net/projects/mk-configure/"
10 depends=('bmake')
11 makedepends=('bmake')
12 source=(http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz/download)
14 sha1sums=('29826df8689a5dc00b278297d7c8c1e57ef4f5a0')
17 build() {
18     cd ${srcdir}/${pkgname}-${pkgver}
19     export PREFIX=${pkgdir}/usr
20     find . -type f -exec sed -i -e 's|/usr/bin/awk|/bin/awk|' {} \;
21     bmake all
22     bmake install
23     find ${pkgdir} -type f -exec sed -i -e "s|${PREFIX}|/usr|g" {} \;