diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-11-03 10:17:32 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-11-03 10:17:32 +0100 |
commit | e870acdc8dab25660ea941076debf87e6ef6639e (patch) | |
tree | 3f3e94d8d34bc66d3b56f57c0b2429ec47b5f5f2 /community/plan9port | |
parent | 48b4fc34e4c4877ffd359d3108042b64e0b81f5d (diff) | |
parent | e3f70522f1f35359d9307f478c96dace20a51ca1 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/ibus-anthy/PKGBUILD
community/libpaper/PKGBUILD
community/plan9port/PKGBUILD
extra/grantlee/PKGBUILD
extra/vlc/PKGBUILD
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 7d454558f..f06ad27b3 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' 'mips64el') 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 } - |