feat(arch/src): minimal-makepkg POSIX-sh build.sh generator

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <[email protected]>
This commit is contained in:
2026-08-19 18:30:25 -04:00
co-authored by Sisyphus
parent 38ddc7cfb2
commit 8267b45888
3 changed files with 368 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/bin/sh
set -eu
pkgname='mytool'
pkgver='1.0'
pkgrel='1'
arch='x86_64'
url='https://example.org'
srcdir="$PWD"
pkgdir="$DESTDIR"
msg() { :; }
prepare() { :; }
build() {
cd "$srcdir"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir"
make DESTDIR="$pkgdir" install
}
build
package