blob: b25bb4c3cc9cc5b1bbd883f924cffade42eb25e6 (
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
|
# Maintainer: LS-Shandong < ls-shandong at outlook dot com >
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=artanis
pkgver=1.2.2.r1.g21ceb29c
pkgrel=1
pkgdesc="A fast monolithic web-framework of Scheme"
url="https://gitlab.com/hardenedlinux/artanis"
depends=('guile>=3.0.5' 'guile-curl' 'guile-redis' 'guile-json' 'nss' 'git')
makedepends=('emacs' 'pandoc')
arch=('x86_64' 'aarch64')
license=('GPL3' 'LGPL3')
source=(${pkgname}::git+$url.git)
sha256sums=('SKIP')
options=('!strip')
conflicts=('artanis')
provides=('artanis')
pkgver() {
cd "$pkgname"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
./autogen.sh –no-configure
./configure --prefix=/usr
make
make docs
}
check() {
cd "$pkgname"
export GUILE_LOAD_PATH=$GUILE_LOAD_PATH:.
guile -c '(display (@ (artanis artanis) artanis-version))'
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
install -Dm755 "$pkgdir"/bin/art "$pkgdir"/usr/bin/art
rm -rf "$pkgdir"/bin
}
|