49 lines
946 B
Bash
49 lines
946 B
Bash
# Maintainer: Shikoba Kage <darkfeather@aninix.net>
|
|
pkgname=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=('helloworld')
|
|
conflicts=()
|
|
replaces=('aninix-helloworld')
|
|
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"
|
|
}
|