New package: panda-2015.12
This commit is contained in:
parent
9e296b47c6
commit
d2e6762948
2 changed files with 30 additions and 0 deletions
1
srcpkgs/panda/files/panda.sh
Normal file
1
srcpkgs/panda/files/panda.sh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export PATH="$PATH:/usr/share/perl6/site/bin"
|
29
srcpkgs/panda/template
Normal file
29
srcpkgs/panda/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Template build file for 'panda'.
|
||||||
|
pkgname=panda
|
||||||
|
only_for_archs="i686 x86_64"
|
||||||
|
version=2015.12
|
||||||
|
revision=1
|
||||||
|
hostmakedepends="perl git rakudo"
|
||||||
|
makedepends="${hostmakedepends}"
|
||||||
|
depends="rakudo>=2016.02 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=267f39e76d7c8fcb50e366589d831b7b5a19f363c44e8d7eaa20df9b9dc77fc3
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue