Skip to content

Commit 9e68106

Browse files
authored
Programming/zig (#10)
* feat: add zig version 15.2 * fix: executable
1 parent 1a20f1c commit 9e68106

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Template file for 'zig15'
2+
pkgname=zig15
3+
version=0.15.2
4+
revision=1
5+
archs="x86_64"
6+
conflicts="zig"
7+
short_desc="Programming language designed for robustness, optimality, and clarity"
8+
maintainer="AmarBego <begovicamar@proton.me>"
9+
license="MIT"
10+
homepage="https://ziglang.org/"
11+
distfiles="https://ziglang.org/download/${version}/zig-x86_64-linux-${version}.tar.xz"
12+
checksum=02aa270f183da276e5b5920b1dac44a63f1a49e55050ebde3aecc9eb82f93239
13+
nopie=yes
14+
nocross=yes
15+
16+
do_install() {
17+
vmkdir usr/lib/zig
18+
vcopy lib usr/lib/zig
19+
vcopy zig usr/lib/zig
20+
21+
vmkdir usr/bin
22+
ln -sf /usr/lib/zig/zig ${DESTDIR}/usr/bin/zig
23+
24+
vlicense LICENSE
25+
}
26+

0 commit comments

Comments
 (0)