plan9port: update to 20160418
Also move from /opt/plan9 to /usr/share/plan9
This commit is contained in:
parent
ea6ae0cb15
commit
4bb28a643f
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'plan9port'
|
||||
pkgname=plan9port
|
||||
version=20150410
|
||||
revision=2
|
||||
_githash=3aca22118d808597bc7451adc559d89460ed5a6e
|
||||
version=20160418
|
||||
revision=1
|
||||
_githash=35d43924484b88b9816e40d2f6bff4547f3eec47
|
||||
wrksrc="${pkgname}-${_githash}"
|
||||
hostmakedepends="which perl"
|
||||
makedepends="libX11-devel libXt-devel libXext-devel freetype-devel fontconfig-devel"
|
||||
|
@ -11,7 +11,7 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|||
license="custom"
|
||||
homepage="http://swtch.com/plan9port/"
|
||||
distfiles="https://github.com/9fans/plan9port/archive/${_githash}.tar.gz"
|
||||
checksum=6c00253ec08b3e5f8fdcfa5219998b3d71a7b135c85fc85d0451d7d0dee33da6
|
||||
checksum=21b0d8ccb79975e49cb16a809c51557e5fe1659061591d1098544e0c5dea1d38
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
|
@ -23,13 +23,13 @@ do_build() {
|
|||
./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
|
||||
vlicense LICENSE
|
||||
|
||||
vmkdir opt
|
||||
cp -a $wrksrc $DESTDIR/opt/plan9
|
||||
cd $DESTDIR/opt/plan9
|
||||
vmkdir usr/share
|
||||
cp -a $wrksrc $DESTDIR/usr/share/plan9
|
||||
cd $DESTDIR/usr/share/plan9
|
||||
rm -f install.{log,sum}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue