[arch-commits] Commit in waf/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Wed Jun 25 13:03:18 UTC 2014
Date: Wednesday, June 25, 2014 @ 15:03:18
Author: arodseth
Revision: 113540
archrelease: copy trunk to community-any
Added:
waf/repos/community-any/PKGBUILD
(from rev 113539, waf/trunk/PKGBUILD)
Deleted:
waf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-06-25 13:03:12 UTC (rev 113539)
+++ PKGBUILD 2014-06-25 13:03:18 UTC (rev 113540)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Sebastien Binet <binet at cern.ch>
-
-pkgname=waf
-pkgver=1.7.15
-pkgrel=1
-pkgdesc='General-purpose build system modelled after Scons'
-url='http://code.google.com/p/waf/'
-arch=('any')
-license=('BSD')
-depends=('python')
-makedepends=('setconf')
-provides=('python-waf')
-options=('!emptydirs')
-source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
-sha256sums=('49780032ed2ac0e118030af329cbd5883d2b9cb9831fc632a3e7b2bfd99d3f1e')
-
-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 ../..
-
- # Fix weird directory placement (FS#38216, FS#38300)
- mkdir -p "$pkgdir/usr/lib/waf"
- mv "$pkgdir/usr/bin/.waf3-$pkgver-"* "$pkgdir/usr/lib/waf/"
- setconf "$pkgdir/usr/bin/waf" base '"/usr/lib/waf"'
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: waf/repos/community-any/PKGBUILD (from rev 113539, waf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-06-25 13:03:18 UTC (rev 113540)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Sebastien Binet <binet at cern.ch>
+
+pkgname=waf
+pkgver=1.7.16
+pkgrel=1
+pkgdesc='General-purpose build system modelled after Scons'
+url='http://code.google.com/p/waf/'
+arch=('any')
+license=('BSD')
+depends=('python')
+makedepends=('setconf')
+provides=('python-waf')
+options=('!emptydirs')
+source=("http://ftp.waf.io/pub/release/$pkgname-$pkgver.tar.bz2")
+sha256sums=('ec12c8a4df1e7900afa5df117a48467a41bd81e951aca9f160394ddda53e5435')
+
+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 ../..
+
+ # Fix weird directory placement (FS#38216, FS#38300)
+ mkdir -p "$pkgdir/usr/lib/waf"
+ mv "$pkgdir/usr/bin/.waf3-$pkgver-"* "$pkgdir/usr/lib/waf/"
+ setconf "$pkgdir/usr/bin/waf" base '"/usr/lib/waf"'
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list