summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1a276904f01..bdbd1d3f2de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,27 @@
+#!/hint/bash
# Maintainer: Adrien Smith <adrien at bouldersmiths dot com>
pkgname=overmind
-pkgver=2.2.0
+pkgver=2.2.1
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")
+makedepends=("go")
conflicts=("$pkgname-bin" "$pkgname-git")
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('2a3619af7f64108b207fc8d28244765febaa28e1acab3e427d19ea6024408aeb0623c0e22c551b8a998a1c66ee71b9e21472e16211243310687b0a3b3e3c647f')
-b2sums=('a141746ca097abbc3b5bc22d62747c3a9ddad82c67571f0f149e0ffa1a5a171455e64cb53ee716be82b4656eb852ecdcace2c4767be1d33e38453e0a2e26fbf4')
+sha512sums=('d616cad5defc204c20e9d679d4a6d87886044dff5173e9e836aa782d8e1b4271189fcaf14f7ee4b2cea70b738b59d6561bf51b2e0d9e2944e76709de7c2e2300')
+b2sums=('0d4abe280c89818f695d7c205d6cbb9773d75521df3f50dbc8062cdc844c4183d90e38a1d38ffb61f80a3581a511b06acc6715f34989f2f9cd7f3e1bbf8737cf')
build() {
cd "$pkgname-$pkgver"
go build \
- -gcflags "all=-trimpath=$PWD" \
- -asmflags "all=-trimpath=$PWD" \
- -ldflags "-s -w -extldflags $LDFLAGS" \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-o $pkgname .
}