restructure #3

Merged
wyj merged 82 commits from dev into main 2026-01-18 20:12:27 -05:00
Showing only changes of commit 56a25f0fdb - Show all commits

View File

@@ -0,0 +1,25 @@
pkgname="hello"
pkgver="1.0"
homepage="https://gitea.phywyj.dynv6.net"
pkgdesc="Just a hello world"
license=("GPL")
sourses=()
urls=()
md5sums=()
src_prepare() {
cat > "hello.c" << "EOF"
#include <stdio.h>
int main(){
printf("Hello! LFS!\n");
}
EOF
}
src_build() {
cc ${CFLAGS} hello.c -o hello
}
src_install() {
install -Dm755 hello ${pkgdir}/usr/bin/hello
}