New package: plan9port-20140306
This commit is contained in:
parent
a760b6835b
commit
f86babcec4
|
@ -0,0 +1,4 @@
|
|||
export PLAN9=/opt/plan9
|
||||
export PATH=$PATH:$PLAN9/bin
|
||||
export ROOTPATH=$ROOTPATH:$PLAN9/bin
|
||||
export MANPATH=$MANPATH:$PLAN9/man
|
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'plan9port'
|
||||
pkgname=plan9port
|
||||
version=20140306
|
||||
revision=1
|
||||
wrksrc=$pkgname
|
||||
makedepends="which libX11-devel libXt-devel libXext-devel freetype-devel fontconfig-devel"
|
||||
depends=""
|
||||
short_desc="Port of many Plan 9 programs to Unix-like operating systems"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://swtch.com/plan9port/"
|
||||
distfiles="https://$pkgname.googlecode.com/files/$pkgname-$version.tgz"
|
||||
checksum=cbb826cde693abdaa2051c49e7ebf75119bf2a4791fe3b3229f1ac36a408eaeb
|
||||
|
||||
do_build() {
|
||||
./INSTALL
|
||||
}
|
||||
|
||||
do_install() {
|
||||
xargs -a lib/moveplan9.files -d'\n' sed -i "s#$wrksrc#/opt/plan9#"
|
||||
|
||||
vinstall $FILESDIR/plan9.sh 644 etc/profile.d
|
||||
vinstall LICENSE 644 usr/share/doc/$pkgname
|
||||
vinstall README 644 usr/share/doc/$pkgname
|
||||
vinstall CHANGES 644 usr/share/doc/$pkgname
|
||||
vinstall CONTRIBUTORS 644 usr/share/doc/$pkgname
|
||||
|
||||
vmkdir opt
|
||||
cp -a $wrksrc $DESTDIR/opt/plan9
|
||||
cd $DESTDIR/opt/plan9
|
||||
rm install.{log,sum} .xbps*
|
||||
}
|
Loading…
Reference in New Issue