void-packages/srcpkgs/panda/template
2016-08-08 23:10:40 +02:00

28 lines
668 B
Bash

# Template build file for 'panda'.
pkgname=panda
version=2016.02
revision=3
hostmakedepends="git perl rakudo"
depends="rakudo>=2016.03 git"
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
nocross=yes
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
}