HelloWorld/PKGBUILD

49 lines
946 B
Bash
Raw Normal View History

2018-11-05 15:35:32 -06:00
# Maintainer: Shikoba Kage <darkfeather@aninix.net>
2019-05-06 02:50:28 -05:00
pkgname=helloworld
2019-04-15 15:58:35 -05:00
pkgver=0.1.4310ab732341ac3317c9aa706b3058b8e7162486
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=()
2019-05-06 02:50:28 -05:00
provides=('helloworld')
2018-11-05 15:35:32 -06:00
conflicts=()
2019-05-06 02:50:28 -05:00
replaces=('aninix-helloworld')
2018-11-05 15:35:32 -06:00
backup=()
options=()
install=
changelog=
source=()
noextract=()
md5sums=()
validpgpkeys=()
prepare() {
git pull
}
build() {
2019-04-15 15:58:35 -05:00
git config remote.origin.url
2018-11-05 15:35:32 -06:00
}
check() {
2019-04-15 15:58:35 -05:00
cd "${srcdir}/.."
chmod a+r "${srcdir}/../pkg"
make 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"
}