mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
plan9port: fix license.
This commit is contained in:
parent
b9df3b5fe8
commit
26a56695b5
1 changed files with 12 additions and 15 deletions
|
@ -1,33 +1,30 @@
|
||||||
# Template file for 'plan9port'
|
# Template file for 'plan9port'
|
||||||
pkgname=plan9port
|
pkgname=plan9port
|
||||||
version=20140306
|
version=20140306
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc=$pkgname
|
wrksrc=$pkgname
|
||||||
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"
|
||||||
short_desc="Port of many Plan 9 programs to Unix-like operating systems"
|
short_desc="Port of many Plan 9 programs to Unix-like operating systems"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="GPL-3"
|
license="custom"
|
||||||
homepage="http://swtch.com/plan9port/"
|
homepage="http://swtch.com/plan9port/"
|
||||||
update_site="https://code.google.com/p/plan9port/downloads/list"
|
update_site="https://code.google.com/p/plan9port/downloads/list"
|
||||||
distfiles="https://$pkgname.googlecode.com/files/$pkgname-$version.tgz"
|
distfiles="https://${pkgname}.googlecode.com/files/${pkgname}-${version}.tgz"
|
||||||
checksum=cbb826cde693abdaa2051c49e7ebf75119bf2a4791fe3b3229f1ac36a408eaeb
|
checksum=cbb826cde693abdaa2051c49e7ebf75119bf2a4791fe3b3229f1ac36a408eaeb
|
||||||
|
|
||||||
do_build() {
|
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#/opt/plan9#"
|
||||||
|
|
||||||
vinstall $FILESDIR/plan9.sh 644 etc/profile.d
|
vinstall $FILESDIR/plan9.sh 644 etc/profile.d
|
||||||
vinstall LICENSE 644 usr/share/doc/$pkgname
|
vlicense LICENSE
|
||||||
vinstall README 644 usr/share/doc/$pkgname
|
|
||||||
vinstall CHANGES 644 usr/share/doc/$pkgname
|
vmkdir opt
|
||||||
vinstall CONTRIBUTORS 644 usr/share/doc/$pkgname
|
cp -a $wrksrc $DESTDIR/opt/plan9
|
||||||
|
cd $DESTDIR/opt/plan9
|
||||||
vmkdir opt
|
rm -r install.{log,sum} .xbps* .hg*
|
||||||
cp -a $wrksrc $DESTDIR/opt/plan9
|
|
||||||
cd $DESTDIR/opt/plan9
|
|
||||||
rm -r install.{log,sum} .xbps* .hg*
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue