Date: Saturday, January 23, 2016 @ 23:36:23 Author: arodseth Revision: 158716
archrelease: copy trunk to community-x86_64, community-i686 Added: plan9port/repos/community-i686/PKGBUILD (from rev 158715, plan9port/trunk/PKGBUILD) plan9port/repos/community-i686/acme.desktop (from rev 158715, plan9port/trunk/acme.desktop) plan9port/repos/community-i686/acme.png (from rev 158715, plan9port/trunk/acme.png) plan9port/repos/community-i686/acme.sh (from rev 158715, plan9port/trunk/acme.sh) plan9port/repos/community-i686/plan9.install (from rev 158715, plan9port/trunk/plan9.install) plan9port/repos/community-i686/plan9.sh (from rev 158715, plan9port/trunk/plan9.sh) plan9port/repos/community-x86_64/PKGBUILD (from rev 158715, plan9port/trunk/PKGBUILD) plan9port/repos/community-x86_64/acme.desktop (from rev 158715, plan9port/trunk/acme.desktop) plan9port/repos/community-x86_64/acme.png (from rev 158715, plan9port/trunk/acme.png) plan9port/repos/community-x86_64/acme.sh (from rev 158715, plan9port/trunk/acme.sh) plan9port/repos/community-x86_64/plan9.install (from rev 158715, plan9port/trunk/plan9.install) plan9port/repos/community-x86_64/plan9.sh (from rev 158715, plan9port/trunk/plan9.sh) Deleted: plan9port/repos/community-i686/PKGBUILD plan9port/repos/community-i686/acme.desktop plan9port/repos/community-i686/acme.png plan9port/repos/community-i686/acme.sh plan9port/repos/community-i686/plan9.install plan9port/repos/community-i686/plan9.sh plan9port/repos/community-x86_64/PKGBUILD plan9port/repos/community-x86_64/acme.desktop plan9port/repos/community-x86_64/acme.png plan9port/repos/community-x86_64/acme.sh plan9port/repos/community-x86_64/plan9.install plan9port/repos/community-x86_64/plan9.sh --------------------------------+ /PKGBUILD | 202 +++++++++++++++++++++++++++++++++++++++ /acme.desktop | 22 ++++ /acme.sh | 6 + /plan9.install | 16 +++ /plan9.sh | 4 community-i686/PKGBUILD | 98 ------------------ community-i686/acme.desktop | 11 -- community-i686/acme.sh | 3 community-i686/plan9.install | 8 - community-i686/plan9.sh | 2 community-x86_64/PKGBUILD | 98 ------------------ community-x86_64/acme.desktop | 11 -- community-x86_64/acme.sh | 3 community-x86_64/plan9.install | 8 - community-x86_64/plan9.sh | 2 15 files changed, 250 insertions(+), 244 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-01-23 22:36:03 UTC (rev 158715) +++ community-i686/PKGBUILD 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,98 +0,0 @@ -# $Id$ -# Maintainer: Alexander Rødseth <rods...@gmail.com> -# Contributor: phrakture <aaronmgriffin--gmail--com> -# Contributor: Fazlul Shahriar -# Contributor: Chris Brannon <cmbranno...@gmail.com> - -pkgname=plan9port -pkgver=20150629 -pkgrel=1 -pkgdesc='Ports of applications from Plan 9' -arch=('x86_64' 'i686') -url='http://swtch.com/plan9port/' -license=('custom') -depends=('xorg-server' 'libxt' 'libxext' 'fuse') -makedepends=('gendesk' 'git') -optdepends=('python2: for the codereview script') -provides=('plan9') -install='plan9.install' -options=('!zipman' 'staticlibs') -source=("git://github.com/9fans/plan9port.git#commit=71de840f054e52a8a077b2333edc1f4243480359" - 'plan9.sh' 'acme.png' 'acme.desktop' 'acme.sh') -sha256sums=('SKIP' - '60df44d57b06962f6860ee501a947d165ab8ccd01dd01ba47c82bc729d2ed6d7' - 'b9046c4b7ed5e8e22bf3ea669d65ff681e616663b9743909a225884ac6fb261b' - '57fdddb70ba969ff4aa2f6c5b68dec02abe937a69044fe00006726e1900d5ffe' - '9c6eb7881f7333077d701f5201f7a620214d6c5c91c11b2ea7964483214e6cb2') - - -prepare() { - # Generate a desktop shortcut for the Acme editor - gendesk -f --pkgname acme --name Acme --genericname Editor \ - --comment 'Editor from Plan9' --categories 'Application;Development;TextEditor' - - # Use _DEFAULT_SOURCE instead of _BSD_SOURCE - grep -rl _BSD_SOURCE "$pkgname" | xargs sed -i s':_BSD_SOURCE:_DEFAULT_SOURCE:g' -} - -package() { - cd "$pkgname" - - # Try the gentoo way for fixing hardcoded paths - PLAN9=/usr/lib/plan9 - grep --null -l -r '/usr/local/plan9' | xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g" - - d=usr/lib - - ./INSTALL -b - install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh" - install -d "$pkgdir/$d" - install -d "$pkgdir/usr/share/doc/$pkgname" - cp -r "$srcdir/$pkgname" "$pkgdir/$d/plan9" - cd "$pkgdir/$d/plan9" - ./INSTALL -c -r "$pkgdir/$d/plan9" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - # Clean up - rm -rf .hg/ - rm -f .hgignore .hgtags - find . -name '.cvsignore' -print0 |xargs -0 rm -f - rm -f config install.log install.sum install.txt configure Makefile INSTALL \ - LICENSE - - # Fix python scripts - find "$pkgdir" -name '*.py' -print0 |xargs -0 \ - sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/python2,' \ - -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' - - # Package text files - for i in CHANGES CONTRIBUTORS README.md TODO; do - install -m644 $i "$pkgdir/usr/share/doc/$pkgname" - rm -f $i - done - - # Decompress the plan9 man pages - for i in `find $pkgdir/$d/plan9/man -type f`; do - if [ ${i##*.} = "gz" ]; then - gunzip "$i" - fi - done - - # Once more - 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 - - # Acme - cd "$srcdir" - install -Dm644 acme.desktop "$pkgdir/usr/share/applications/acme.desktop" - install -Dm755 acme.sh "$pkgdir/usr/bin/acme" - install -Dm644 acme.png "$pkgdir/usr/share/pixmaps/acme.png" - - ## Build man pages - #export PLAN9="$pkgdir/usr/lib/plan9" - #export PATH="$PLAN9/bin:/usr/bin" - #cd "$pkgdir/usr/lib/plan9/dist" - #9 mk man -} - -# vim:set ts=2 sw=2 et: Copied: plan9port/repos/community-i686/PKGBUILD (from rev 158715, plan9port/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,101 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: phrakture <aaronmgriffin--gmail--com> +# Contributor: Fazlul Shahriar +# Contributor: Chris Brannon <cmbranno...@gmail.com> + +pkgname=plan9port +pkgver=20150629 +pkgrel=2 +pkgdesc='Ports of applications from Plan 9' +arch=('x86_64' 'i686') +url='http://swtch.com/plan9port/' +license=('custom') +depends=('xorg-server' 'libxt' 'libxext' 'fuse') +makedepends=('gendesk' 'git') +optdepends=('python2: for the codereview script') +provides=('plan9') +install='plan9.install' +options=('!zipman' 'staticlibs') +source=("git://github.com/9fans/plan9port.git#commit=71de840f054e52a8a077b2333edc1f4243480359" + 'plan9.sh' 'acme.png' 'acme.desktop' 'acme.sh') +sha256sums=('SKIP' + '60df44d57b06962f6860ee501a947d165ab8ccd01dd01ba47c82bc729d2ed6d7' + 'b9046c4b7ed5e8e22bf3ea669d65ff681e616663b9743909a225884ac6fb261b' + '57fdddb70ba969ff4aa2f6c5b68dec02abe937a69044fe00006726e1900d5ffe' + '9c6eb7881f7333077d701f5201f7a620214d6c5c91c11b2ea7964483214e6cb2') + + +prepare() { + # Generate a desktop shortcut for the Acme editor + gendesk -f --pkgname acme --name Acme --genericname Editor \ + --comment 'Editor from Plan9' --categories 'Application;Development;TextEditor' + + # Use _DEFAULT_SOURCE instead of _BSD_SOURCE + grep -rl _BSD_SOURCE "$pkgname" | xargs sed -i s':_BSD_SOURCE:_DEFAULT_SOURCE:g' +} + +package() { + cd "$pkgname" + + # Try the gentoo way for fixing hardcoded paths + PLAN9=/usr/lib/plan9 + grep --null -l -r '/usr/local/plan9' | xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g" + + d=usr/lib + + ./INSTALL -b + install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh" + install -d "$pkgdir/$d" + install -d "$pkgdir/usr/share/doc/$pkgname" + cp -r "$srcdir/$pkgname" "$pkgdir/$d/plan9" + cd "$pkgdir/$d/plan9" + ./INSTALL -c -r "$pkgdir/$d/plan9" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # Clean up + rm -rf .hg/ + rm -f .hgignore .hgtags + find . -name '.cvsignore' -print0 |xargs -0 rm -f + rm -f config install.log install.sum install.txt configure Makefile INSTALL \ + LICENSE + + # Fix python scripts + find "$pkgdir" -name '*.py' -print0 |xargs -0 \ + sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/python2,' \ + -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' + + # Package text files + for i in CHANGES CONTRIBUTORS README.md TODO; do + install -m644 $i "$pkgdir/usr/share/doc/$pkgname" + rm -f $i + done + + # Decompress the plan9 man pages + for i in `find $pkgdir/$d/plan9/man -type f`; do + if [ ${i##*.} = "gz" ]; then + gunzip "$i" + fi + done + + # Once more + 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 + + # Acme + cd "$srcdir" + install -Dm644 acme.desktop "$pkgdir/usr/share/applications/acme.desktop" + install -Dm755 acme.sh "$pkgdir/usr/bin/acme" + install -Dm644 acme.png "$pkgdir/usr/share/pixmaps/acme.png" + + ## Build man pages + #export PLAN9="$pkgdir/usr/lib/plan9" + #export PATH="$PLAN9/bin:/usr/bin" + #cd "$pkgdir/usr/lib/plan9/dist" + #9 mk man + + # Remove git repository + rm -rf "$pkgdir/usr/lib/plan9/.git" +} + +# vim:set ts=2 sw=2 et: Deleted: community-i686/acme.desktop =================================================================== --- community-i686/acme.desktop 2016-01-23 22:36:03 UTC (rev 158715) +++ community-i686/acme.desktop 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,11 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application -Name=Acme -GenericName=Editor -Comment=Editor from Plan9 -Exec=acme -Icon=acme -Terminal=false -StartupNotify=false -Categories=Application;Development;TextEditor; Copied: plan9port/repos/community-i686/acme.desktop (from rev 158715, plan9port/trunk/acme.desktop) =================================================================== --- community-i686/acme.desktop (rev 0) +++ community-i686/acme.desktop 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Acme +GenericName=Editor +Comment=Editor from Plan9 +Exec=acme +Icon=acme +Terminal=false +StartupNotify=false +Categories=Application;Development;TextEditor; Deleted: community-i686/acme.png =================================================================== (Binary files differ) Copied: plan9port/repos/community-i686/acme.png (from rev 158715, plan9port/trunk/acme.png) =================================================================== (Binary files differ) Deleted: community-i686/acme.sh =================================================================== --- community-i686/acme.sh 2016-01-23 22:36:03 UTC (rev 158715) +++ community-i686/acme.sh 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,3 +0,0 @@ -#!/bin/sh -. /etc/profile.d/plan9.sh -9 acme "$@" Copied: plan9port/repos/community-i686/acme.sh (from rev 158715, plan9port/trunk/acme.sh) =================================================================== --- community-i686/acme.sh (rev 0) +++ community-i686/acme.sh 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,3 @@ +#!/bin/sh +. /etc/profile.d/plan9.sh +9 acme "$@" Deleted: community-i686/plan9.install =================================================================== --- community-i686/plan9.install 2016-01-23 22:36:03 UTC (rev 158715) +++ community-i686/plan9.install 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,8 +0,0 @@ -post_install() { - echo "" - echo "==> In order to use Plan9 specific apps, run them" - echo " as arguments to the '9' script, i.e. '9 date'" - echo "==> Please log off or 'source /etc/profile.d/plan9.sh'" - echo "==> Run '9 man 1 intro | less' to begin" - source /etc/profile.d/plan9.sh -} Copied: plan9port/repos/community-i686/plan9.install (from rev 158715, plan9port/trunk/plan9.install) =================================================================== --- community-i686/plan9.install (rev 0) +++ community-i686/plan9.install 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,8 @@ +post_install() { + echo "" + echo "==> In order to use Plan9 specific apps, run them" + echo " as arguments to the '9' script, i.e. '9 date'" + echo "==> Please log off or 'source /etc/profile.d/plan9.sh'" + echo "==> Run '9 man 1 intro | less' to begin" + source /etc/profile.d/plan9.sh +} Deleted: community-i686/plan9.sh =================================================================== --- community-i686/plan9.sh 2016-01-23 22:36:03 UTC (rev 158715) +++ community-i686/plan9.sh 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,2 +0,0 @@ -export PLAN9=/usr/lib/plan9 -export PATH=$PATH:$PLAN9/bin Copied: plan9port/repos/community-i686/plan9.sh (from rev 158715, plan9port/trunk/plan9.sh) =================================================================== --- community-i686/plan9.sh (rev 0) +++ community-i686/plan9.sh 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,2 @@ +export PLAN9=/usr/lib/plan9 +export PATH=$PATH:$PLAN9/bin Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-01-23 22:36:03 UTC (rev 158715) +++ community-x86_64/PKGBUILD 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,98 +0,0 @@ -# $Id$ -# Maintainer: Alexander Rødseth <rods...@gmail.com> -# Contributor: phrakture <aaronmgriffin--gmail--com> -# Contributor: Fazlul Shahriar -# Contributor: Chris Brannon <cmbranno...@gmail.com> - -pkgname=plan9port -pkgver=20150629 -pkgrel=1 -pkgdesc='Ports of applications from Plan 9' -arch=('x86_64' 'i686') -url='http://swtch.com/plan9port/' -license=('custom') -depends=('xorg-server' 'libxt' 'libxext' 'fuse') -makedepends=('gendesk' 'git') -optdepends=('python2: for the codereview script') -provides=('plan9') -install='plan9.install' -options=('!zipman' 'staticlibs') -source=("git://github.com/9fans/plan9port.git#commit=71de840f054e52a8a077b2333edc1f4243480359" - 'plan9.sh' 'acme.png' 'acme.desktop' 'acme.sh') -sha256sums=('SKIP' - '60df44d57b06962f6860ee501a947d165ab8ccd01dd01ba47c82bc729d2ed6d7' - 'b9046c4b7ed5e8e22bf3ea669d65ff681e616663b9743909a225884ac6fb261b' - '57fdddb70ba969ff4aa2f6c5b68dec02abe937a69044fe00006726e1900d5ffe' - '9c6eb7881f7333077d701f5201f7a620214d6c5c91c11b2ea7964483214e6cb2') - - -prepare() { - # Generate a desktop shortcut for the Acme editor - gendesk -f --pkgname acme --name Acme --genericname Editor \ - --comment 'Editor from Plan9' --categories 'Application;Development;TextEditor' - - # Use _DEFAULT_SOURCE instead of _BSD_SOURCE - grep -rl _BSD_SOURCE "$pkgname" | xargs sed -i s':_BSD_SOURCE:_DEFAULT_SOURCE:g' -} - -package() { - cd "$pkgname" - - # Try the gentoo way for fixing hardcoded paths - PLAN9=/usr/lib/plan9 - grep --null -l -r '/usr/local/plan9' | xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g" - - d=usr/lib - - ./INSTALL -b - install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh" - install -d "$pkgdir/$d" - install -d "$pkgdir/usr/share/doc/$pkgname" - cp -r "$srcdir/$pkgname" "$pkgdir/$d/plan9" - cd "$pkgdir/$d/plan9" - ./INSTALL -c -r "$pkgdir/$d/plan9" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - # Clean up - rm -rf .hg/ - rm -f .hgignore .hgtags - find . -name '.cvsignore' -print0 |xargs -0 rm -f - rm -f config install.log install.sum install.txt configure Makefile INSTALL \ - LICENSE - - # Fix python scripts - find "$pkgdir" -name '*.py' -print0 |xargs -0 \ - sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/python2,' \ - -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' - - # Package text files - for i in CHANGES CONTRIBUTORS README.md TODO; do - install -m644 $i "$pkgdir/usr/share/doc/$pkgname" - rm -f $i - done - - # Decompress the plan9 man pages - for i in `find $pkgdir/$d/plan9/man -type f`; do - if [ ${i##*.} = "gz" ]; then - gunzip "$i" - fi - done - - # Once more - 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 - - # Acme - cd "$srcdir" - install -Dm644 acme.desktop "$pkgdir/usr/share/applications/acme.desktop" - install -Dm755 acme.sh "$pkgdir/usr/bin/acme" - install -Dm644 acme.png "$pkgdir/usr/share/pixmaps/acme.png" - - ## Build man pages - #export PLAN9="$pkgdir/usr/lib/plan9" - #export PATH="$PLAN9/bin:/usr/bin" - #cd "$pkgdir/usr/lib/plan9/dist" - #9 mk man -} - -# vim:set ts=2 sw=2 et: Copied: plan9port/repos/community-x86_64/PKGBUILD (from rev 158715, plan9port/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,101 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: phrakture <aaronmgriffin--gmail--com> +# Contributor: Fazlul Shahriar +# Contributor: Chris Brannon <cmbranno...@gmail.com> + +pkgname=plan9port +pkgver=20150629 +pkgrel=2 +pkgdesc='Ports of applications from Plan 9' +arch=('x86_64' 'i686') +url='http://swtch.com/plan9port/' +license=('custom') +depends=('xorg-server' 'libxt' 'libxext' 'fuse') +makedepends=('gendesk' 'git') +optdepends=('python2: for the codereview script') +provides=('plan9') +install='plan9.install' +options=('!zipman' 'staticlibs') +source=("git://github.com/9fans/plan9port.git#commit=71de840f054e52a8a077b2333edc1f4243480359" + 'plan9.sh' 'acme.png' 'acme.desktop' 'acme.sh') +sha256sums=('SKIP' + '60df44d57b06962f6860ee501a947d165ab8ccd01dd01ba47c82bc729d2ed6d7' + 'b9046c4b7ed5e8e22bf3ea669d65ff681e616663b9743909a225884ac6fb261b' + '57fdddb70ba969ff4aa2f6c5b68dec02abe937a69044fe00006726e1900d5ffe' + '9c6eb7881f7333077d701f5201f7a620214d6c5c91c11b2ea7964483214e6cb2') + + +prepare() { + # Generate a desktop shortcut for the Acme editor + gendesk -f --pkgname acme --name Acme --genericname Editor \ + --comment 'Editor from Plan9' --categories 'Application;Development;TextEditor' + + # Use _DEFAULT_SOURCE instead of _BSD_SOURCE + grep -rl _BSD_SOURCE "$pkgname" | xargs sed -i s':_BSD_SOURCE:_DEFAULT_SOURCE:g' +} + +package() { + cd "$pkgname" + + # Try the gentoo way for fixing hardcoded paths + PLAN9=/usr/lib/plan9 + grep --null -l -r '/usr/local/plan9' | xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g" + + d=usr/lib + + ./INSTALL -b + install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh" + install -d "$pkgdir/$d" + install -d "$pkgdir/usr/share/doc/$pkgname" + cp -r "$srcdir/$pkgname" "$pkgdir/$d/plan9" + cd "$pkgdir/$d/plan9" + ./INSTALL -c -r "$pkgdir/$d/plan9" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # Clean up + rm -rf .hg/ + rm -f .hgignore .hgtags + find . -name '.cvsignore' -print0 |xargs -0 rm -f + rm -f config install.log install.sum install.txt configure Makefile INSTALL \ + LICENSE + + # Fix python scripts + find "$pkgdir" -name '*.py' -print0 |xargs -0 \ + sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/python2,' \ + -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' + + # Package text files + for i in CHANGES CONTRIBUTORS README.md TODO; do + install -m644 $i "$pkgdir/usr/share/doc/$pkgname" + rm -f $i + done + + # Decompress the plan9 man pages + for i in `find $pkgdir/$d/plan9/man -type f`; do + if [ ${i##*.} = "gz" ]; then + gunzip "$i" + fi + done + + # Once more + 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 + + # Acme + cd "$srcdir" + install -Dm644 acme.desktop "$pkgdir/usr/share/applications/acme.desktop" + install -Dm755 acme.sh "$pkgdir/usr/bin/acme" + install -Dm644 acme.png "$pkgdir/usr/share/pixmaps/acme.png" + + ## Build man pages + #export PLAN9="$pkgdir/usr/lib/plan9" + #export PATH="$PLAN9/bin:/usr/bin" + #cd "$pkgdir/usr/lib/plan9/dist" + #9 mk man + + # Remove git repository + rm -rf "$pkgdir/usr/lib/plan9/.git" +} + +# vim:set ts=2 sw=2 et: Deleted: community-x86_64/acme.desktop =================================================================== --- community-x86_64/acme.desktop 2016-01-23 22:36:03 UTC (rev 158715) +++ community-x86_64/acme.desktop 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,11 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application -Name=Acme -GenericName=Editor -Comment=Editor from Plan9 -Exec=acme -Icon=acme -Terminal=false -StartupNotify=false -Categories=Application;Development;TextEditor; Copied: plan9port/repos/community-x86_64/acme.desktop (from rev 158715, plan9port/trunk/acme.desktop) =================================================================== --- community-x86_64/acme.desktop (rev 0) +++ community-x86_64/acme.desktop 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Acme +GenericName=Editor +Comment=Editor from Plan9 +Exec=acme +Icon=acme +Terminal=false +StartupNotify=false +Categories=Application;Development;TextEditor; Deleted: community-x86_64/acme.png =================================================================== (Binary files differ) Copied: plan9port/repos/community-x86_64/acme.png (from rev 158715, plan9port/trunk/acme.png) =================================================================== (Binary files differ) Deleted: community-x86_64/acme.sh =================================================================== --- community-x86_64/acme.sh 2016-01-23 22:36:03 UTC (rev 158715) +++ community-x86_64/acme.sh 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,3 +0,0 @@ -#!/bin/sh -. /etc/profile.d/plan9.sh -9 acme "$@" Copied: plan9port/repos/community-x86_64/acme.sh (from rev 158715, plan9port/trunk/acme.sh) =================================================================== --- community-x86_64/acme.sh (rev 0) +++ community-x86_64/acme.sh 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,3 @@ +#!/bin/sh +. /etc/profile.d/plan9.sh +9 acme "$@" Deleted: community-x86_64/plan9.install =================================================================== --- community-x86_64/plan9.install 2016-01-23 22:36:03 UTC (rev 158715) +++ community-x86_64/plan9.install 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,8 +0,0 @@ -post_install() { - echo "" - echo "==> In order to use Plan9 specific apps, run them" - echo " as arguments to the '9' script, i.e. '9 date'" - echo "==> Please log off or 'source /etc/profile.d/plan9.sh'" - echo "==> Run '9 man 1 intro | less' to begin" - source /etc/profile.d/plan9.sh -} Copied: plan9port/repos/community-x86_64/plan9.install (from rev 158715, plan9port/trunk/plan9.install) =================================================================== --- community-x86_64/plan9.install (rev 0) +++ community-x86_64/plan9.install 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,8 @@ +post_install() { + echo "" + echo "==> In order to use Plan9 specific apps, run them" + echo " as arguments to the '9' script, i.e. '9 date'" + echo "==> Please log off or 'source /etc/profile.d/plan9.sh'" + echo "==> Run '9 man 1 intro | less' to begin" + source /etc/profile.d/plan9.sh +} Deleted: community-x86_64/plan9.sh =================================================================== --- community-x86_64/plan9.sh 2016-01-23 22:36:03 UTC (rev 158715) +++ community-x86_64/plan9.sh 2016-01-23 22:36:23 UTC (rev 158716) @@ -1,2 +0,0 @@ -export PLAN9=/usr/lib/plan9 -export PATH=$PATH:$PLAN9/bin Copied: plan9port/repos/community-x86_64/plan9.sh (from rev 158715, plan9port/trunk/plan9.sh) =================================================================== --- community-x86_64/plan9.sh (rev 0) +++ community-x86_64/plan9.sh 2016-01-23 22:36:23 UTC (rev 158716) @@ -0,0 +1,2 @@ +export PLAN9=/usr/lib/plan9 +export PATH=$PATH:$PLAN9/bin