plan9port: update to 20160418

Also move from /opt/plan9 to /usr/share/plan9
This commit is contained in:
Jürgen Buchmüller 2016-05-08 02:07:05 +02:00
parent ea6ae0cb15
commit 4bb28a643f
1 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'plan9port' # Template file for 'plan9port'
pkgname=plan9port pkgname=plan9port
version=20150410 version=20160418
revision=2 revision=1
_githash=3aca22118d808597bc7451adc559d89460ed5a6e _githash=35d43924484b88b9816e40d2f6bff4547f3eec47
wrksrc="${pkgname}-${_githash}" wrksrc="${pkgname}-${_githash}"
hostmakedepends="which perl" hostmakedepends="which perl"
makedepends="libX11-devel libXt-devel libXext-devel freetype-devel fontconfig-devel" makedepends="libX11-devel libXt-devel libXext-devel freetype-devel fontconfig-devel"
@ -11,7 +11,7 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom" license="custom"
homepage="http://swtch.com/plan9port/" homepage="http://swtch.com/plan9port/"
distfiles="https://github.com/9fans/plan9port/archive/${_githash}.tar.gz" distfiles="https://github.com/9fans/plan9port/archive/${_githash}.tar.gz"
checksum=6c00253ec08b3e5f8fdcfa5219998b3d71a7b135c85fc85d0451d7d0dee33da6 checksum=21b0d8ccb79975e49cb16a809c51557e5fe1659061591d1098544e0c5dea1d38
nocross=yes nocross=yes
do_build() { do_build() {
@ -23,13 +23,13 @@ do_build() {
./INSTALL ./INSTALL
} }
do_install() { do_install() {
xargs -a lib/moveplan9.files -d'\n' sed -i "s#$wrksrc#/opt/plan9#" xargs -a lib/moveplan9.files -d'\n' sed -i "s#$wrksrc#/usr/share/plan9#"
vinstall $FILESDIR/plan9.sh 644 etc/profile.d vinstall $FILESDIR/plan9.sh 644 etc/profile.d
vlicense LICENSE vlicense LICENSE
vmkdir opt vmkdir usr/share
cp -a $wrksrc $DESTDIR/opt/plan9 cp -a $wrksrc $DESTDIR/usr/share/plan9
cd $DESTDIR/opt/plan9 cd $DESTDIR/usr/share/plan9
rm -f install.{log,sum} rm -f install.{log,sum}
} }