summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdrien Smith2019-06-23 15:30:13 -0600
committerAdrien Smith2019-06-23 15:30:13 -0600
commit38c4684a10e89f29a0e8d3c8db1ff6ec0b0d1756 (patch)
tree5c63f4a182ed31d7d251ba7d8ad5ffc9d914baca /PKGBUILD
downloadaur-38c4684a10e89f29a0e8d3c8db1ff6ec0b0d1756.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3eba41fb5ff
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Adrien Smith <adrien at bouldersmiths dot com>
+pkgname=overmind
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="Process manager for Procfile-based applications and tmux"
+arch=("x86_64")
+url="https://github.com/DarthSim/$pkgname"
+license=("MIT")
+depends=("tmux")
+makedepends=("go-pie")
+conflicts=("$pkgname-bin" "$pkgname-git")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('c38e9651ddc12aa3cfdb86a7030c55cd2c71a98f17c0ef6f959da52971224c658a60c2facf1f9068f776b3bd9764f3955ae362fce2593efa39e482ee38db95af')
+
+build() {
+ cd "$pkgname-$pkgver"
+ go build \
+ -gcflags "all=-trimpath=$PWD" \
+ -asmflags "all=-trimpath=$PWD" \
+ -ldflags "-s -w -extldflags $LDFLAGS" \
+ -o $pkgname .
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}