summaryrefslogtreecommitdiff
path: root/user/ol/APKBUILD
blob: 486c15781e2ab8458648cf27bb06903a21ac4c27 (plain) (blame)
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
# Contributor: Yuriy Chumak <yuriy.chumak@mail.com>
# Maintainer: Yuriy Chumak <yuriy.chumak@mail.com>
pkgname=ol
pkgver=2.6
pkgrel=0
pkgdesc="Purely functional dialect of Lisp"
url="https://yuriy-chumak.github.io/ol/"
arch="all"
license="LGPL-3.0+ OR MIT"
depends=""
makedepends="vim"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/yuriy-chumak/$pkgname/archive/$pkgver.tar.gz"

HAS32_CDEFS = 0
HAS64_CDEFS = 0
case "$CARCH" in
	armel | armhf | armv7) HAS32_CDEFS = 1 ;;
	x86 | pmmx) HAS32_CDEFS = 1 ;;
	x86_64 | mips64* | aarch64* | ppc64*) HAS64_CDEFS = 1 ;;
	mips* | ppc | s390*) HAS32_CDEFS = 1 ;;
esac

build() {
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="22e61379d97e52e8f780213780d7f29a93e4846d158629e554f404a1c39e86daef9ce2a1b27d608c40c40850eaff4c2715bdfcb66af6b81cd906f0bcd43bf450  ol-2.6.tar.gz"