Date: Sunday, January 27, 2013 @ 16:44:24 Author: arodseth Revision: 83118
archrelease: copy trunk to community-any Added: waf/repos/community-any/PKGBUILD (from rev 83117, waf/trunk/PKGBUILD) Deleted: waf/repos/community-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-01-27 15:43:54 UTC (rev 83117) +++ PKGBUILD 2013-01-27 15:44:24 UTC (rev 83118) @@ -1,50 +0,0 @@ -# $Id$ -# Maintainer: Alexander Rødseth <rods...@gmail.com> -# Contributor: Sebastien Binet <bi...@cern.ch> - -pkgname=waf -pkgver=1.7.8 -pkgrel=1 -pkgdesc='General-purpose build system modelled after Scons' -url='http://code.google.com/p/waf/' -arch=('any') -license=('BSD') -depends=('python') -provides=('python-waf') -source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2") -sha256sums=('8f550efe93998d3075eb23bb9fe0b2c862996910236906dc9880b7100af68898') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - msg2 "Building..." - ./waf-light configure --prefix=/usr - ./waf-light --make-waf - ./waf-light install -f --destdir="$pkgdir" \ - --tools='compat,compat15,ocaml,go,cython,scala,erlang,cuda,gcj,boost,pep8' - - msg2 "Extracting license..." - head -n 30 waf | tail -n 25 > LICENSE - - sed -i '0,/env python/s//python3/' waf -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - msg2 "Packaging binaries..." - install -Dm755 waf "$pkgdir/usr/bin/waf" - # Force the generation of .waf.admin files - cd demos/c - "$pkgdir/usr/bin/waf" configure build >& /dev/null - cd ../.. - - msg2 "Setting permissions..." - chmod -R 0644 "$pkgdir"/usr/bin/.waf*/waflib/Tools/* - chown -R root:root "$pkgdir"/usr/* - - msg2 "Packaging license..." - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -# vim:set ts=2 sw=2 et: Copied: waf/repos/community-any/PKGBUILD (from rev 83117, waf/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-01-27 15:44:24 UTC (rev 83118) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Sebastien Binet <bi...@cern.ch> + +pkgname=waf +pkgver=1.7.9 +pkgrel=1 +pkgdesc='General-purpose build system modelled after Scons' +url='http://code.google.com/p/waf/' +arch=('any') +license=('BSD') +depends=('python') +provides=('python-waf') +source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2") +sha256sums=('59d2ab56238aadc3f80c8d7114a42f621df0567740a9700e736a60325d8b0f93') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 "Building..." + ./waf-light configure --prefix=/usr + ./waf-light --make-waf + ./waf-light install -f --destdir="$pkgdir" \ + --tools='compat,compat15,ocaml,go,cython,scala,erlang,cuda,gcj,boost,pep8' + + msg2 "Extracting license..." + head -n 30 waf | tail -n 25 > LICENSE + + sed -i '0,/env python/s//python3/' waf +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 "Packaging binaries..." + install -Dm755 waf "$pkgdir/usr/bin/waf" + # Force the generation of .waf.admin files + cd demos/c + "$pkgdir/usr/bin/waf" configure build >& /dev/null + cd ../.. + + msg2 "Setting permissions..." + chmod -R 0644 "$pkgdir"/usr/bin/.waf*/waflib/Tools/* + chown -R root:root "$pkgdir"/usr/* + + msg2 "Packaging license..." + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: