summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1a276904f01..a4b47a36db0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,26 @@
# Maintainer: Adrien Smith <adrien at bouldersmiths dot com>
pkgname=overmind
-pkgver=2.2.0
+pkgver=2.2.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")
+makedepends=("go")
conflicts=("$pkgname-bin" "$pkgname-git")
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('2a3619af7f64108b207fc8d28244765febaa28e1acab3e427d19ea6024408aeb0623c0e22c551b8a998a1c66ee71b9e21472e16211243310687b0a3b3e3c647f')
-b2sums=('a141746ca097abbc3b5bc22d62747c3a9ddad82c67571f0f149e0ffa1a5a171455e64cb53ee716be82b4656eb852ecdcace2c4767be1d33e38453e0a2e26fbf4')
+sha512sums=('1ca98ee6a058e4d396e96c3b0442387567816e6c3b7cad1122e5f3ca915067ae2b03d9629e156c91e4164fa71f42930002da1d9e0e7f4eaee9d866bcabe94f6f')
+b2sums=('0caafb16472bb0c3ea369347156cda929bb8e16ba19b758c61ed0c87ad946b93528f506c675b73da80becc7935a35930f8778e14eea0076c5aa1969b7721fd87')
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 .
}