blob: 00f3a1c6bc641de25a5eb52acc009edd6687b2e0 (
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
40
41
|
# Maintainer: Holger Schramm <dev@strace.it>
# Contributor: Austin Haedicke <austin.haedicke@gmail.com>
# Contributor: Jonathon Fernyhough <jonathon@manjaro.org>
pkgname=zef
pkgver=0.22.1
pkgrel=1
pkgdesc="Rakudo (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=('16b113eb73433e20d1db3cb2d78e9afc0cff3b2af9661fc2e7646ae2a1ac8b49')
check() {
cd "$srcdir/$pkgname-$pkgver"
printf 'Running tests...\n'
PERL6LIB=lib prove -r -e perl6
}
package() {
cd "$srcdir/$pkgname-$pkgver"
printf 'Installing documentation...\n'
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
install -Dm 755 bin/zef -t "$pkgdir/usr/bin"
printf 'Installing...\n'
export RAKUDO_LOG_PRECOMP=1
export RAKUDO_RERESOLVE_DEPENDENCIES=0
perl6-install-dist \
--to="$pkgdir/usr/share/perl6/vendor" \
--for=vendor \
--from=.
}
|