diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2026-03-13 00:04:27 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2026-03-13 00:04:27 +0800 |
| commit | 9c5716a431e40ee2f942b933229ff25d3b6d5835 (patch) | |
| tree | 6073cfb6a3e84a3292cd48e74a3e3cd8726209fa /repos/wip/booster | |
| parent | bd1670e1c515cc88d1908ed28c929585bae8a0f1 (diff) | |
| download | alicelinux-9c5716a431e40ee2f942b933229ff25d3b6d5835.tar.gz alicelinux-9c5716a431e40ee2f942b933229ff25d3b6d5835.zip | |
added wip abuilds
Diffstat (limited to 'repos/wip/booster')
| -rw-r--r-- | repos/wip/booster/.checksum | 1 | ||||
| -rw-r--r-- | repos/wip/booster/.files | 8 | ||||
| -rw-r--r-- | repos/wip/booster/abuild | 22 |
3 files changed, 31 insertions, 0 deletions
diff --git a/repos/wip/booster/.checksum b/repos/wip/booster/.checksum new file mode 100644 index 00000000..12c18aa5 --- /dev/null +++ b/repos/wip/booster/.checksum @@ -0,0 +1 @@ +2eff30f91f56e4a4186fcee0356c4825af9b588c2e8eb9e754503e8e32176106 booster-0.12.tar.gz diff --git a/repos/wip/booster/.files b/repos/wip/booster/.files new file mode 100644 index 00000000..d9b15a33 --- /dev/null +++ b/repos/wip/booster/.files @@ -0,0 +1,8 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/booster.yml.new +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/booster +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/booster/ +-rwxr-xr-x root/root usr/lib/booster/init diff --git a/repos/wip/booster/abuild b/repos/wip/booster/abuild new file mode 100644 index 00000000..a669fe85 --- /dev/null +++ b/repos/wip/booster/abuild @@ -0,0 +1,22 @@ +name=booster +version=0.12 +release=1 +source="https://github.com/anatol/${name}/archive/${version}/${name}-${version}.tar.gz" + +build() { + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ + go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -buildid='' -extldflags \"${LDFLAGS}\"" + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw + cd .. + + mkdir -p $PKG/etc + touch $PKG/etc/booster.yml + install -Dp -m755 generator/generator "$PKG/usr/bin/booster" + install -Dp -m755 init/init "$PKG/usr/lib/booster/init" +} |