~kota/nilsu-pkg-void

ref: 99450866b0650ece829b06b8d2b825b2580889a4 nilsu-pkg-void/srcpkgs/harec/template -rw-r--r-- 571 bytes
99450866Dakota Walsh harec: update to 0.0.20220428 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Template file for 'harec'
pkgname=harec
version=0.0.20220428
revision=1
_gitrev=5c9990c863e8eaf8eb47d23b4fb9a73c9ce8056c
wrksrc="${pkgname}-${_gitrev}"
hostmakedepends="scdoc qbe"
depends=""
short_desc="The Hare compiler"
maintainer="Dakota Walsh <kota@nilsu.org>"
license="GPL-3.0-or-only"
homepage="https://harelang.org"
distfiles="https://git.sr.ht/~sircmpwn/harec/archive/${_gitrev}.tar.gz"
checksum=d20a5f14f39f69a1ced6109eee26115fd3d13522680eba4b142eaa3906a3148b

do_build() {
	./configure --prefix=/usr
	make
}

do_install() {
	make DESTDIR=${DESTDIR} install
}