summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4db59fc8d486454be2f9d2aef8b36e6048047795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jonian Guveli <https://github.com/jonian/>
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"
}