diff options
author | root <root@rshg054.dnsready.net> | 2012-11-03 01:15:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-03 01:15:19 -0700 |
commit | e3f70522f1f35359d9307f478c96dace20a51ca1 (patch) | |
tree | 9db033a74cb298a1443b87e279b7549f35288789 /community/plan9port | |
parent | 35bd2bb6857eb818ca53b8fe34d88106133342f4 (diff) |
Sat Nov 3 01:13:31 PDT 2012
Diffstat (limited to 'community/plan9port')
-rw-r--r-- | community/plan9port/PKGBUILD | 15 | ||||
-rw-r--r-- | community/plan9port/plan9.install | 17 |
2 files changed, 16 insertions, 16 deletions
diff --git a/community/plan9port/PKGBUILD b/community/plan9port/PKGBUILD index df7d3f3f0..8f8d7477e 100644 --- a/community/plan9port/PKGBUILD +++ b/community/plan9port/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 78790 2012-10-24 21:59:59Z arodseth $ +# $Id: PKGBUILD 79309 2012-11-02 16:29:05Z spupykin $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: phrakture <aaronmgriffin--gmail--com> # Contributor: Fazlul Shahriar @@ -6,8 +6,8 @@ pkgname=plan9port pkgver=20121022 -pkgrel=1 -pkgdesc='Port of many programs from Plan 9' +pkgrel=2 +pkgdesc="A port of many programs from Plan 9 to Unix-like operating systems" arch=('i686' 'x86_64') url="http://swtch.com/plan9port/" license=('custom') @@ -15,6 +15,7 @@ depends=(xorg-server libxt libxext sh fuse) optdepends=('python2: for the codereview script') provides=('plan9') install=plan9.install +options=(!zipman) source=(http://swtch.com/$pkgname/$pkgname-$pkgver.tgz plan9.sh) sha256sums=('1293b5d2e46d0d6f7be2adbdb285ce278a25c77e88b5cd7c230e16a47d0f8638' '0247c4446497359d305aaec069b07180fbf79ce4fa5191464cd9ebb8c7f0228d') @@ -60,4 +61,12 @@ package() { install -m644 $i "$pkgdir/usr/share/doc/$pkgname" rm -f $i done + + echo "==> Decompressing plan9 man pages" + for i in `find /opt/plan9/man -type f`; do + if [ ${i##*.} = "gz" ]; then +# echo " ${i%%.*}..." + gunzip $i + fi + done } diff --git a/community/plan9port/plan9.install b/community/plan9port/plan9.install index 97ca74fa6..5c76552f3 100644 --- a/community/plan9port/plan9.install +++ b/community/plan9port/plan9.install @@ -1,12 +1,4 @@ post_install() { - echo "==> Decompressing plan9 man pages" - for i in `find /opt/plan9/man -type f`; do - if [ ${i##*.} = "gz" ]; then -# echo " ${i%%.*}..." - gunzip $i - fi - done - echo "" echo "==> In order to use Plan9 specific apps, run them" echo " as arguments to the '9' script, i.e. '9 date'" @@ -15,16 +7,15 @@ post_install() { source /etc/profile.d/plan9.sh } -pre_upgrade() { - post_remove -} - post_upgrade() { post_install } +pre_upgrade() { + post_remove +} + post_remove() { #we had to unpack them so they won't get removed.... rm -rf /opt/plan9/man } - |