2014-11-27 20:47:24 +00:00
|
|
|
# Template build file for 'rakudo-star'.
|
|
|
|
pkgname=rakudo-star
|
2016-04-02 06:13:50 +00:00
|
|
|
version=2016.03
|
2015-03-22 14:32:27 +00:00
|
|
|
revision=1
|
2016-02-26 06:43:14 +00:00
|
|
|
hostmakedepends="panda"
|
2016-04-02 06:13:50 +00:00
|
|
|
depends="panda>=2016.02"
|
|
|
|
short_desc="Perl 6 distribution that includes common modules"
|
2014-11-27 20:47:24 +00:00
|
|
|
maintainer="Ruslan <axetwe@gmail.com>"
|
2016-04-02 06:13:50 +00:00
|
|
|
homepage="http://rakudo.org"
|
|
|
|
license="Artistic-2.0"
|
|
|
|
nopie="yes"
|
|
|
|
nocross="yes"
|
2015-09-27 04:39:43 +00:00
|
|
|
|
2016-04-02 06:25:52 +00:00
|
|
|
broken="http://build.voidlinux.eu/builders/x86_64_builder/builds/22182/steps/shell_3/logs/stdio"
|
|
|
|
|
2016-02-26 06:43:14 +00:00
|
|
|
pre_build() {
|
|
|
|
cd /usr/share/perl6/site
|
|
|
|
find -type f > list.txt
|
2015-09-27 04:39:43 +00:00
|
|
|
}
|
2014-11-27 20:47:24 +00:00
|
|
|
|
2016-02-26 06:43:14 +00:00
|
|
|
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
|
2015-10-06 11:04:55 +00:00
|
|
|
}
|
|
|
|
|
2016-02-26 06:43:14 +00:00
|
|
|
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/
|
2014-11-27 20:47:24 +00:00
|
|
|
}
|