blob: d7fdcd5c894a42ab29d9e66dbfcae3995292b906 (
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
|
# Maintainer: Lobo Torres <lobo@quiltro.org>
pkgname=loko-git
pkgver=0.12.1.r11.60ba632
pkgrel=1
pkgdesc="An optimizing R6RS Scheme compiler"
arch=('x86_64')
url="https://scheme.fail"
license=("EUPL-1.2-or-later")
makedepends=("chez-scheme" "akku")
options=(!strip)
conflicts=("loko")
source=("git+https://scheme.fail/git/loko.git/")
sha256sums=('SKIP')
pkgver()
{
git -C loko describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}
build()
{
cd loko
make BOOTSTRAPSCHEME="chez-script" SCHEMESCRIPT="chez-script" PREFIX="/usr"
}
package()
{
cd loko
make DESTDIR="$pkgdir/" PREFIX="/usr" install install-info
install -Dm644 LICENSES/EUPL-1.2.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|