20 lines
365 B
Bash
20 lines
365 B
Bash
pkgname=helloworld
|
|
pkgver=1
|
|
pkgrel=1
|
|
pkgdesc="Prints hello world"
|
|
arch=('any')
|
|
url="https://gitea.seeseepuff.be/archlinux/helloworld"
|
|
license=('GPL')
|
|
source=(helloworld.c)
|
|
md5sums=('be272e4d8286b99885f0540bc3345d5f')
|
|
|
|
build() {
|
|
gcc -o helloworld helloworld.c -Wall -Wextra -Werror -pedantic
|
|
}
|
|
|
|
package() {
|
|
install -D helloworld "$pkgdir/usr/bin/helloworld"
|
|
}
|
|
|
|
|