HelloWorld/PKGBUILD

47 lines
847 B
Bash
Raw Normal View History

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