void-packages/srcpkgs/panda/template

29 lines
668 B
Bash
Raw Normal View History

2016-02-26 06:43:52 +00:00
# Template build file for 'panda'.
pkgname=panda
version=2016.02
2016-08-08 21:10:40 +00:00
revision=3
hostmakedepends="git perl rakudo"
depends="rakudo>=2016.03 git"
2016-02-26 06:43:52 +00:00
short_desc="Panda is a Perl 6 module manager"
maintainer="Ruslan <axetwe@gmail.com>"
homepage="https://github.com/tadzik/panda"
license="MIT"
distfiles="https://github.com/tadzik/panda/archive/${version}.tar.gz"
checksum=e8ced2b70ca9f5dc43affb09d5859132e570d493e363020db433ef0a13768b08
2016-08-08 21:10:40 +00:00
nocross=yes
2016-02-26 06:43:52 +00:00
do_build() {
vmkdir usr
./bootstrap.pl
}
do_install() {
vmkdir usr/share/perl6
cp -r /usr/share/perl6/site ${DESTDIR}/usr/share/perl6/
}
post_install() {
vinstall ${FILESDIR}/panda.sh 644 etc/profile.d
vlicense LICENSE
}