diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-05-04 05:18:21 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-05-04 19:16:54 -0300 |
commit | 05da87243c715056248717e37fc28a20800f8776 (patch) | |
tree | a24cdb7ce06912ba234f41ec9951eceb89ccb44e /pcr/waf | |
parent | e5a82c43b058dc72db8473089a93f9a26d3bd22a (diff) | |
download | abslibre-05da87243c715056248717e37fc28a20800f8776.tar.gz abslibre-05da87243c715056248717e37fc28a20800f8776.tar.bz2 abslibre-05da87243c715056248717e37fc28a20800f8776.zip |
waf: rename python-waf. to waf.
Diffstat (limited to 'pcr/waf')
-rw-r--r-- | pcr/waf/PKGBUILD | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/pcr/waf/PKGBUILD b/pcr/waf/PKGBUILD index ca96ced6b..90db6e309 100644 --- a/pcr/waf/PKGBUILD +++ b/pcr/waf/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Márcio Silva <coadde@parabola.nu> pkgbase=waf -pkgname=('python-waf' 'python2-waf') +pkgname=('waf' 'waf2') pkgver=1.8.20 pkgrel=1 pkgdesc='The meta build system' @@ -15,33 +15,25 @@ md5sums=('1e188c5179f47964050b08863e9026a0' validpgpkeys=('E6EEAF4A06B3C4CDAC71D4DE67A565EDFDF90E64') build() { - rm -v $pkgbase-$pkgver/waf - mv -v {,python-}$pkgbase-$pkgver - cp -va python{,2}-$pkgbase-$pkgver - - cd $srcdir/python-$pkgbase-$pkgver - ./configure - - cd $srcdir/python2-$pkgbase-$pkgver - sed -i 's|/usr/bin/env python|/usr/bin/env python2| - ' waf-light + cd $srcdir/$pkgbase-$pkgver ./configure } -package_python-waf() { +package_waf() { pkgdesc='The meta build system (Python 3)' depends=('python') - cd $srcdir/python-$pkgbase-$pkgver + cd $srcdir/$pkgbase-$pkgver mkdir -pvm 755 $pkgdir/usr/bin cp -va waf $pkgdir/usr/bin/waf } -package_python2-waf() { +package_waf2() { pkgdesc='The meta build system (Python 2)' depends=('python2') - cd $srcdir/python2-$pkgbase-$pkgver + cd $srcdir/$pkgbase-$pkgver + sed -i 's|/usr/bin/env python|/usr/bin/env python2|' waf mkdir -pvm 755 $pkgdir/usr/bin cp -va waf $pkgdir/usr/bin/waf2 } |