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
}
