updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / bakefile / PKGBUILD
blob8e04c58a73d64bf3cc185910eb2714c4bdc137f4
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Darren LaChausse <dlachausse@yahoo.com>
4 pkgname=bakefile
5 pkgver=0.2.9
6 pkgrel=2
7 pkgdesc="A cross-platform, cross-compiler native makefiles generator"
8 arch=('i686' 'x86_64')
9 url="http://bakefile.sourceforge.net/"
10 license=('MIT')
11 depends=('python2')
12 options=('!libtool')
13 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
14 md5sums=('b53813d155df1a45371abc8f781e6d88')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   PYTHON=/usr/bin/python2 ./configure --prefix=/usr
19   make
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
24   make DESTDIR="$pkgdir" install
25   ln -sf ../lib/bakefile/bakefile.py "$pkgdir/usr/bin/bakefile"
26   ln -sf ../lib/bakefile/bakefile_gen.py "$pkgdir/usr/bin/bakefile_gen"
27   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"