diff --git a/test/hello-1.0.PKGBUILD b/test/hello-1.0.PKGBUILD new file mode 100644 index 0000000..0938cee --- /dev/null +++ b/test/hello-1.0.PKGBUILD @@ -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 +int main(){ + printf("Hello! LFS!\n"); +} +EOF +} + +src_build() { + cc ${CFLAGS} hello.c -o hello +} + +src_install() { + install -Dm755 hello ${pkgdir}/usr/bin/hello +}