updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / setconf / PKGBUILD
blob56d8157f7084cc9d1571d689cad6bb64ddc4a4e6
1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 pkgname=setconf
3 pkgver=0.2
4 pkgrel=7
5 pkgdesc="A utility to easily change settings in Makefiles and other configuration files"
6 arch=('x86_64' 'i686')
7 url="http://setconf.roboticoverlords.org/"
8 license=('GPL')
9 depends=('pcre' 'gc' 'gcc')
10 makedepends=('shedskin>=0.1.2')
11 md5sums=('ccd0ca9527d8406d5393d77a6a56686b')
12 source=("http://$pkgname.roboticoverlords.org/$pkgname-$pkgver.tbz2")
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   shedskin $pkgname.py
18   make CPPFLAGS="-march=native -fomit-frame-pointer"
21 package() {
22   cd "$srcdir/$pkgname-$pkgver"
24   install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
25   install -Dm 644 "$pkgname.1.gz" \
26     "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
27   install -Dm 644 COPYING \
28     "$pkgdir/usr/share/licenses/$pkgname/COPYING"
30 # vim:set ts=2 sw=2 et: