blob: 30eff99f06e735bdc7dd9ac872175d7bd44deb1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
# Contributor: Jonathon Fernyhough <jonathon@manjaro.org>
pkgname=zef
pkgver=0.1.29
pkgrel=1
pkgdesc="Perl6 Module Management"
arch=('any')
depends=('perl6')
checkdepends=('perl')
makedepends=('git')
groups=('perl6')
url="https://github.com/ugexe/zef"
license=('PerlArtistic')
options=('!purge')
source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/ugexe/$pkgname/tar.gz/v$pkgver)
sha256sums=('acab39b7ff53660ce261683f078e9a3ca8c769c9eb65ff2f6c89ec24da25b8d7')
check() {
cd "$srcdir/$pkgname-$pkgver"
msg2 'Running tests...'
PERL6LIB=lib prove -r -e perl6
}
package() {
cd "$srcdir/$pkgname-$pkgver"
msg2 'Installing documentation...'
install -Dm 644 README.pod -t "$pkgdir/usr/share/doc/$pkgname"
msg2 'Installing...'
export RAKUDO_LOG_PRECOMP=1
export RAKUDO_RERESOLVE_DEPENDENCIES=0
perl6-install-dist \
--to="$pkgdir/usr/share/perl6/vendor" \
--for=vendor \
--from=.
}
|