# Maintainer: Jonian Guveli pkgname=hivemind-bin pkgver=1.1.0 pkgrel=1 pkgdesc="Hivemind is a process manager for Procfile-based applications" arch=("x86_64") url="https://github.com/DarthSim/hivemind" license=("MIT") provides=("hivemind") conflicts=("hivemind" "hivemind-git") makedepends=("gzip") source=("$pkgname-$pkgver.gz::$url/releases/download/v$pkgver/hivemind-v$pkgver-linux-amd64.gz") noextract=("$pkgname-$pkgver.gz") md5sums=('39993ced0c70e11d6a9966c280a385b0') prepare() { gzip -d --force "$pkgname-$pkgver.gz" } package() { install -Dm755 "$srcdir/$pkgname-$pkgver" "$pkgdir/opt/hivemind/hivemind" install -d "$pkgdir/usr/bin" && ln -s "/opt/hivemind/hivemind" "$_/hivemind" }