47 lines
895 B
Bash
47 lines
895 B
Bash
|
# Maintainer: Shikoba Kage <darkfeather@aninix.net>
|
||
|
pkgname=aninix-misc-scripts
|
||
|
pkgver=0.1.d2deb6bee364f1ad7480cb5d97ea74252c266032
|
||
|
pkgver() {
|
||
|
printf "0.1.""$(git rev-parse HEAD)"
|
||
|
}
|
||
|
pkgrel=1
|
||
|
epoch=
|
||
|
pkgdesc="AniNIX::MiscScripts \\\\ Miscellaneous administrative and otherwise helpful scripts"
|
||
|
arch=("x86_64")
|
||
|
url="https://aninix.net/foundation/MiscScripts"
|
||
|
license=('custom')
|
||
|
groups=()
|
||
|
depends=('curl' 'grep' 'bash>=4.4' 'git>=2.13')
|
||
|
makedepends=('make>=4.2')
|
||
|
checkdepends=()
|
||
|
optdepends=()
|
||
|
provides=('aninix-misc-scripts')
|
||
|
conflicts=()
|
||
|
replaces=()
|
||
|
backup=()
|
||
|
options=()
|
||
|
install=
|
||
|
changelog=
|
||
|
source=()
|
||
|
noextract=()
|
||
|
md5sums=()
|
||
|
validpgpkeys=()
|
||
|
|
||
|
prepare() {
|
||
|
git pull
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
make -C ..
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
printf 'quit\n\n' | make -C .. test
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
export pkgdir="${pkgdir}"
|
||
|
make -C .. install
|
||
|
install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||
|
}
|