# Maintainer: Shikoba Kage <darkfeather@aninix.net>
pkgname=aninix-helloworld
pkgver=0.1.4310ab732341ac3317c9aa706b3058b8e7162486
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() {
    git config remote.origin.url
}

check() {
    cd "${srcdir}/.."
    chmod a+r "${srcdir}/../pkg"
	make test
}

package() {
    export pkgdir="${pkgdir}"
	make -C .. install
    install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}