summaryrefslogtreecommitdiff
path: root/community/plan9port
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-07 04:04:41 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-07 04:04:41 +0000
commit2d7e9da010b34660baba072183cce7664dc8956c (patch)
tree0a9bd47a90edc63829ae06bb549c58cc4548847d /community/plan9port
parent58ee2a8b8164437294a44a627d05ee1c701ced57 (diff)
Wed May 7 04:00:53 UTC 2014
Diffstat (limited to 'community/plan9port')
-rw-r--r--community/plan9port/PKGBUILD15
1 files changed, 4 insertions, 11 deletions
diff --git a/community/plan9port/PKGBUILD b/community/plan9port/PKGBUILD
index 4aa216d58..62631e3d1 100644
--- a/community/plan9port/PKGBUILD
+++ b/community/plan9port/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 105934 2014-02-19 12:29:36Z arodseth $
+# $Id: PKGBUILD 110730 2014-05-05 22:09:47Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: phrakture <aaronmgriffin--gmail--com>
# Contributor: Fazlul Shahriar
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
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 @@ install='plan9.install'
options=('!zipman' 'staticlibs')
source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tgz"
'plan9.sh')
-sha256sums=('5cba7856bdb35a96a923120e61d320d424fee1a6f09b7af3e87eb7814a747d4f'
+sha256sums=('cbb826cde693abdaa2051c49e7ebf75119bf2a4791fe3b3229f1ac36a408eaeb'
'8768c080a8ceb0a52a3f866bd8ffc4b26f9deb97c6877ceea78ec0b316325a6b')
package() {
@@ -46,12 +46,6 @@ package() {
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 @@ package() {
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
}