blob: 3be20b0e1f5013e0bff278917f372a512b804074 (
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
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: David Santiago <demanuel@ymail.com>
# Contributer: Andy Weidenbaum <archbaum@gmail.com>
pkgname=moarvm-git
pkgver=20210415
pkgrel=1
pkgdesc="6model-based VM for NQP and Rakudo Perl6"
arch=('aarch64' 'armv6h' 'armv7h' 'i686' 'x86_64')
depends=('libatomic_ops' 'libffi' 'libtommath' 'libuv')
makedepends=('binutils' 'clang' 'git' 'make' 'perl' 'pkg-config')
groups=('perl6')
url="https://github.com/MoarVM/MoarVM"
license=('PerlArtistic')
options=('!purge')
source=(${pkgname%-git}::git+https://github.com/MoarVM/MoarVM
git+https://github.com/MoarVM/dynasm)
sha256sums=('SKIP' 'SKIP')
provides=('moarvm')
conflicts=('moarvm')
pkgver() {
cd ${pkgname%-git}
git log -1 --format="%cd" --date=short --no-show-signature | sed "s|-||g"
}
build() {
cd ${pkgname%-git}
msg2 'Building...'
perl Configure.pl \
--no-debug \
--os linux \
--optimize \
--prefix /usr
make
}
package() {
cd ${pkgname%-git}
msg2 'Installing documentation...'
install -Dm 644 README.markdown -t "$pkgdir/usr/share/doc/${pkgname%-git}"
cp -dpr --no-preserve=ownership docs \
"$pkgdir/usr/share/doc/${pkgname%-git}/design"
msg2 'Installing license...'
install -Dm 644 Artistic2.txt CREDITS LICENSE \
-t "$pkgdir/usr/share/licenses/${pkgname%-git}"
msg2 'Installing...'
make DESTDIR="$pkgdir" install
}
|