Date: Tuesday, May 6, 2014 @ 00:09:31 Author: arodseth Revision: 110729
upgpkg: plan9port 20140306-1 Modified: plan9port/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-05-05 22:06:27 UTC (rev 110728) +++ PKGBUILD 2014-05-05 22:09:31 UTC (rev 110729) @@ -5,8 +5,8 @@ # Contributor: Chris Brannon <[email protected]> pkgname=plan9port -pkgver=20131024 -pkgrel=4 +pkgver=20140306 +pkgrel=1 pkgdesc='Port of many programs from Plan 9 to Unix-like operating systems' arch=('x86_64' 'i686') url='http://swtch.com/plan9port/' @@ -18,7 +18,7 @@ options=('!zipman' 'staticlibs') source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tgz" 'plan9.sh') -sha256sums=('5cba7856bdb35a96a923120e61d320d424fee1a6f09b7af3e87eb7814a747d4f' +sha256sums=('cbb826cde693abdaa2051c49e7ebf75119bf2a4791fe3b3229f1ac36a408eaeb' '8768c080a8ceb0a52a3f866bd8ffc4b26f9deb97c6877ceea78ec0b316325a6b') package() { @@ -46,12 +46,6 @@ rm -f config install.log install.sum install.txt configure Makefile INSTALL \ LICENSE - # The old method for fixing hardcoded paths - #for f in `grep -H -r "$pkgdir$d/$pkgname" | cut -d: -f1`; do - # echo -n "\t$f" - # [ -e "$f" ] && sed -i "s:$pkgdir$d/$pkgname:$d/$pkgname:" "$f" || true - #done - # Fix python scripts find "$pkgdir" -name '*.py' -print0 |xargs -0 \ sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/python2,' \ @@ -71,7 +65,6 @@ done # Once more - #grep --null -l -r "$pkgdir/usr/local/plan9" | xargs --null sed -i "s!$pkgdir/usr/local/plan9!${PLAN9}!g" grep --null -l -r "$pkgdir$PLAN9" | xargs --null sed -i "s!$pkgdir$PLAN9!${PLAN9}!g" || true grep --null -l -r "/build/plan9port/pkg/plan9port/$PLAN9" | xargs --null sed -i "s!/build/plan9port/pkg/plan9port/$PLAN9!${PLAN9}!g" || true }
