HelloWorld/PKGBUILD
2019-04-15 14:53:57 -05:00

47 lines
847 B
Bash

# Maintainer: Shikoba Kage <darkfeather@aninix.net>
pkgname=aninix-helloworld
pkgver=0.1.1
pkgver() {
printf "0.1.""$(git rev-parse HEAD)"
}
pkgrel=1
epoch=
pkgdesc="AniNIX::HelloWorld \\\\ Sample HelloWorld Source"
arch=("x86_64")
url="https://aninix.net/foundation/HelloWorld"
license=('custom')
groups=()
depends=('bash>=4.4')
makedepends=('make>=4.2' 'mono>5.0.0' 'php' 'perl' 'java-environment' 'python>=3.7' 'gcc')
checkdepends=()
optdepends=()
provides=('aninix-helloworld')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=()
noextract=()
md5sums=()
validpgpkeys=()
prepare() {
git pull
}
build() {
make -C ..
}
check() {
make -C "${srcdir}/.." test
}
package() {
export pkgdir="${pkgdir}"
make -C .. install
install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}