summaryrefslogtreecommitdiff
path: root/pcr/waf/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2020-01-21 01:02:25 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2020-01-21 01:02:25 -0500
commitdcd69ebfad09c17b320c5f124bf280615333a051 (patch)
tree71d43e9a6adef58b1bf6f99ff6aebe703ca73e33 /pcr/waf/PKGBUILD
parent7bb45d7a7b600709da6f0b1d7b608d1a0bd85053 (diff)
downloadabslibre-dcd69ebfad09c17b320c5f124bf280615333a051.tar.gz
abslibre-dcd69ebfad09c17b320c5f124bf280615333a051.tar.bz2
abslibre-dcd69ebfad09c17b320c5f124bf280615333a051.zip
Removing waf: This package is in [community] repo
Diffstat (limited to 'pcr/waf/PKGBUILD')
-rw-r--r--pcr/waf/PKGBUILD68
1 files changed, 0 insertions, 68 deletions
diff --git a/pcr/waf/PKGBUILD b/pcr/waf/PKGBUILD
deleted file mode 100644
index 6a6af5551..000000000
--- a/pcr/waf/PKGBUILD
+++ /dev/null
@@ -1,68 +0,0 @@
-# Maintainer (AUR): XZS <d dot f dot fischer at web dot de>
-# Contributor (AUR): Alexander Rødseth <rodseth@gmail.com>
-# Contributor (AUR): Sebastien Binet <binet@cern.ch>
-# Contributor: Márcio Silva <coadde@hyperbola.info>
-
-# parabola changes and rationale:
-# - corrected license
-
-pkgname=waf
-pkgver=1.9.11
-pkgrel=1
-pkgdesc='General-purpose build system modelled after Scons'
-url='http://waf.io/'
-arch=('any')
-license=('BSD3')
-depends=('python')
-makedepends=('unzip')
-provides=('python-waf')
-source=("https://waf.io/${pkgname}-${pkgver}.tar.bz2"
- 'wafdir.patch'
- 'building-waf.md')
-md5sums=('ba28942df5d03a2e411de16865d36a71'
- 'ff472805caa81e02cb15bcf87031f722'
- '93fd94b3dc4616c35e9bf13adc63b23c')
-sha256sums=('a13432143010b4aaa014431dbe3a35150a9e46a5668773893d28d72a38c7a1e5'
- '432fb8e21fe31047e16ac068b761961f1a3965785e570bf54aca1c4c07d253f4'
- '3103524b61ac3f3af9bb71f1ac8fcb836a1e67e2bfcf59150f08dbf70a595675')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- patch -p1 -i ../wafdir.patch
-
- # Extract 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 \
- build --make-waf --tools='compat,compat15,ocaml,go,cython,scala,erlang,cuda,gcj,boost,pep8,eclipse,qt4,kde4'
-
- # Strip packed library from binary. The plain files are installed separately.
- sed -i '/^#==>$/,/^#<==$/d' waf
-}
-
-package() {
- install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" building-waf.md
-
- cd "$pkgname-$pkgver"
- install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
- install -Dt "$pkgdir/usr/bin" waf
- install -Dm644 -t "$pkgdir/usr/share/$pkgname" wscript
-
- # Place waf library and tools.
- local wafdir="$pkgdir/usr/lib/waf"
- install -d "$wafdir"
- bsdtar -xf zip/waflib.zip -C "$wafdir"
-
- # compile all python sources for once to be used after installation.
- python -OOm compileall "$wafdir"
-}
-
-# vim:set ts=2 sw=2 et: