34 lines
874 B
Bash
34 lines
874 B
Bash
# Template build file for 'rakudo-star'.
|
|
pkgname=rakudo-star
|
|
version=2016.03
|
|
revision=1
|
|
hostmakedepends="panda"
|
|
depends="panda>=2016.02"
|
|
short_desc="Perl 6 distribution that includes common modules"
|
|
maintainer="Ruslan <axetwe@gmail.com>"
|
|
homepage="http://rakudo.org"
|
|
license="Artistic-2.0"
|
|
nopie="yes"
|
|
nocross="yes"
|
|
|
|
broken="http://build.voidlinux.eu/builders/x86_64_builder/builds/22182/steps/shell_3/logs/stdio"
|
|
|
|
pre_build() {
|
|
cd /usr/share/perl6/site
|
|
find -type f > list.txt
|
|
}
|
|
|
|
do_build() {
|
|
export PATH="$PATH:/usr/share/perl6/site/bin"
|
|
panda --notests --force install Task::Star
|
|
cp /usr/share/perl6/site/panda/state /usr/share/perl6/site/panda/state.bak
|
|
}
|
|
|
|
do_install() {
|
|
cd /usr/share/perl6/site
|
|
xargs rm < list.txt
|
|
find . -type d -empty -delete
|
|
mv panda/state.bak panda/state
|
|
vmkdir usr/share/perl6
|
|
cp -r /usr/share/perl6/site ${DESTDIR}/usr/share/perl6/
|
|
}
|