summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Smith2019-06-23 15:30:13 -0600
committerAdrien Smith2019-06-23 15:30:13 -0600
commit38c4684a10e89f29a0e8d3c8db1ff6ec0b0d1756 (patch)
tree5c63f4a182ed31d7d251ba7d8ad5ffc9d914baca
downloadaur-38c4684a10e89f29a0e8d3c8db1ff6ec0b0d1756.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD28
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3ab66579962
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = overmind
+ pkgdesc = Process manager for Procfile-based applications and tmux
+ pkgver = 2.0.2
+ pkgrel = 1
+ url = https://github.com/DarthSim/overmind
+ arch = x86_64
+ license = MIT
+ makedepends = go-pie
+ depends = tmux
+ conflicts = overmind-bin
+ conflicts = overmind-git
+ source = overmind-2.0.2.tar.gz::https://github.com/DarthSim/overmind/archive/v2.0.2.tar.gz
+ sha512sums = c38e9651ddc12aa3cfdb86a7030c55cd2c71a98f17c0ef6f959da52971224c658a60c2facf1f9068f776b3bd9764f3955ae362fce2593efa39e482ee38db95af
+
+pkgname = overmind
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
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"
+}