[arch-commits] Commit in waf/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Fri Oct 11 14:07:02 UTC 2013
Date: Friday, October 11, 2013 @ 16:07:01
Author: arodseth
Revision: 98480
archrelease: copy trunk to community-any
Added:
waf/repos/community-any/PKGBUILD
(from rev 98479, waf/trunk/PKGBUILD)
Deleted:
waf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-11 14:06:56 UTC (rev 98479)
+++ PKGBUILD 2013-10-11 14:07:01 UTC (rev 98480)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Sebastien Binet <binet at cern.ch>
-
-# TODO: See if the waf python files can be placed elsewhere
-
-pkgname=waf
-pkgver=1.7.11
-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=('913bba166f09f607782cb659de4de5306c97550a6ef34e5ac753ce647f2b288c')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # Extracting license
- head -n 30 waf | tail -n 25 > LICENSE
- # Python 3 fix
- sed -i '0,/env python/s//python3/' waf
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./waf-light configure --prefix=/usr
- ./waf-light --make-waf
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./waf-light install -f --destdir="$pkgdir" \
- --tools='compat,compat15,ocaml,go,cython,scala,erlang,cuda,gcj,boost,pep8,eclipse'
-
- 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 ../..
-
- # Fixing permissions
- chmod -R 0644 "$pkgdir"/usr/bin/.waf*/waflib/Tools/*
- chown -R root:root "$pkgdir"/usr/*
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: waf/repos/community-any/PKGBUILD (from rev 98479, waf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-10-11 14:07:01 UTC (rev 98480)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Sebastien Binet <binet at cern.ch>
+
+# TODO: See if the waf python files can be placed elsewhere
+
+pkgname=waf
+pkgver=1.7.13
+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=('21a6220e9c4be50716157222d5be5f19b87916e8087cd6b42e583a83a955dd5b')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # Extracting license
+ head -n 30 waf | tail -n 25 > LICENSE
+ # Python 3 fix
+ sed -i '0,/env python/s//python3/' waf
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./waf-light configure --prefix=/usr
+ ./waf-light --make-waf
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ ./waf-light install -f --destdir="$pkgdir" \
+ --tools='compat,compat15,ocaml,go,cython,scala,erlang,cuda,gcj,boost,pep8,eclipse'
+
+ 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 ../..
+
+ # Fixing permissions
+ #chmod -R 0644 "$pkgdir/usr/bin/.waf*/waflib/Tools/"*
+ #chown -R root:root "$pkgdir/usr/"*
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list