aports/community/slimcc-headers/APKBUILD
2025-06-02 03:01:59 +00:00

28 lines
1.1 KiB
Text

# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=slimcc-headers
pkgver=0_git20250531
_gitrev=7600c43d8d12aa326248e08faaff250f2b091d24
pkgrel=0
pkgdesc="C11 compiler with C23/C2y/GNU extensions (header files)"
url="https://github.com/fuhsnn/slimcc"
arch="x86_64"
license="MIT" # license file is distributed with the main slimcc package
source="https://github.com/fuhsnn/slimcc/archive/$_gitrev/slimcc-$_gitrev.tar.gz"
builddir="$srcdir/slimcc-$_gitrev"
# !check: headers are split so slimcc's check() can find them
# at their usual location, without having to rely on relative
# paths, so if slimcc check() passes, then this should be good.
# !archcheck: headers are for slimcc, which is x86_64-only.
options="!check !archcheck"
replaces="slimcc"
package() {
install -Dvm644 slimcc_headers/include/* \
-t "$pkgdir"/usr/lib/slimcc/include/
}
sha512sums="
34f4841bf942cc70b5672b6bf84d62b2c1d8e67e3352cb017a1e55f5faed027dc741dff241a05c33e4f817c80a26b8535b1ae43e04e2a0a56a54d8c25cc5364d slimcc-7600c43d8d12aa326248e08faaff250f2b091d24.tar.gz
"