blob: 6269b78536b29e03afdd9feaacaa1fce6e057c1d (
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: Wing Hei Chan <whmunkchan@outlook.com>
_pkgname=zuo
pkgname="$_pkgname-git"
pkgver=r71.8a66ab8
pkgrel=1
pkgdesc="A tiny Racket for scripting."
arch=('x86_64')
url="https://github.com/racket/zuo"
license=('Apache' 'MIT')
makedepends=('git')
provides=('zuo')
conflicts=('zuo')
source=("zuo::git+https://github.com/racket/zuo")
b2sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf r%s.%s \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
./configure --prefix=/usr
make
}
check() {
cd "$_pkgname"
make -k check
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir/" install
install -Dm644 -t "$pkgdir/usr/share/doc/$_pkgname" README.md
install -Dm644 -t "$pkgdir/usr/share/licenses/$_pkgname/" LICENSE.txt
}
# Local Variables:
# indent-tabs-mode: nil
# sh-basic-offset: 2
# End:
|