CryptoWorkbench/PKGBUILD

44 lines
785 B
Bash
Raw Normal View History

2017-07-06 12:10:56 -05:00
# Maintainer: Shikoba Kage <darkfeather@aninix.net>
pkgname=cryptoworkbench
2017-12-05 17:13:49 -06:00
pkgver=0.1-1
2017-07-06 12:10:56 -05:00
pkgrel=1
epoch=
2017-12-04 20:07:01 -06:00
pkgdesc="AniNIX::CryptoWorkbench \\\\ Simple Cryptography Utility"
2017-07-06 12:10:56 -05:00
arch=("x86_64")
url="https://aninix.net/foundation/CryptoWorkbench"
license=('custom')
groups=()
depends=('mono>=5.0.0' 'curl' 'grep' 'bash>=4.4' 'git>=2.13')
makedepends=('make>=4.2')
checkdepends=()
optdepends=()
provides=('cryptoworkbench')
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"
}