The AUR packages i mintain
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Initial upload: zenc-git r35.6b0a0e7-1

genc-git: init

+64
+23
zenc-git/.SRCINFO
··· 1 + pkgbase = zenc-git 2 + pkgdesc = Write like a high-level language, run like C. 3 + pkgver = r35.6b0a0e7 4 + pkgrel = 1 5 + url = https://github.com/z-libs/Zen-C 6 + arch = x86_64 7 + arch = pentium4 8 + arch = aarch64 9 + arch = armv7h 10 + arch = riscv64 11 + license = MIT 12 + makedepends = gcc 13 + makedepends = make 14 + makedepends = git 15 + optdepends = gcc: gcc backend support 16 + optdepends = clang: clang backend support 17 + optdepends = zig: zig backend support 18 + provides = zc 19 + conflicts = zenc 20 + source = zen-c::git+https://github.com/z-libs/Zen-C.git#branch=main 21 + sha256sums = SKIP 22 + 23 + pkgname = zenc-git
+41
zenc-git/PKGBUILD
··· 1 + # Maintainer: Anas Elgarhy <anas.elgarhy.dev@gmail.com> 2 + pkgname=zenc-git 3 + _pkgname=zen-c 4 + pkgver=r35.6b0a0e7 5 + pkgrel=1 6 + pkgdesc='Write like a high-level language, run like C.' 7 + url='https://github.com/z-libs/Zen-C' 8 + arch=('x86_64' 'pentium4' 'aarch64' 'armv7h' 'riscv64') 9 + license=('MIT') 10 + optdepends=('gcc: gcc backend support' 11 + 'clang: clang backend support' 12 + 'zig: zig backend support') 13 + makedepends=(gcc make git) 14 + provides=(zc) 15 + conflicts=(${pkgname%-*}) 16 + source=("$_pkgname::git+$url.git#branch=main") 17 + sha256sums=('SKIP') 18 + # validpgpkeys=() 19 + 20 + pkgver() { 21 + cd "$_pkgname" 22 + # there are no tags then use number of revisions since beginning of the history 23 + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" 24 + } 25 + 26 + build() { 27 + cd "$_pkgname" 28 + make CC=gcc -j 29 + } 30 + 31 + package() { 32 + cd "$_pkgname" 33 + install -Dm755 zc "$pkgdir/usr/bin/zc" 34 + install -d "$pkgdir/usr/local/share/zenc" 35 + cp -r std/ "$pkgdir/usr/local/share/zenc/std" 36 + install -Dm644 std.zc "$pkgdir/usr/local/share/zenc/std.zc" 37 + install -Dm644 man/zc.1 "$pkgdir/usr/share/man/man1/zc.1" 38 + command -v gzip >/dev/null 2>&1 && gzip -9 "$pkgdir/usr/share/man/man1/zc.1" 39 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 40 + install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" 41 + }