Maat/PKGBUILD

44 lines
750 B
Bash
Raw Normal View History

2019-02-18 07:56:39 -06:00
# Maintainer: Shikoba Kage <darkfeather@aninix.net>
pkgname=maat
pkgver=0.1."$(git rev-parse HEAD)"
pkgrel=1
epoch=
pkgdesc="AniNIX::Maat \\\\ Quality Assurance and Reporting Framework"
arch=("x86_64")
url="https://aninix.net/wiki/Maat"
license=('custom')
groups=()
depends=('bash>=4.4' 'wget' 'grep' 'make' 'git')
makedepends=('make>=4.2')
checkdepends=()
optdepends=()
provides=('maat')
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"
}