diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 20 insertions, 18 deletions
@@ -1,17 +1,17 @@ pkgbase = overmind pkgdesc = Process manager for Procfile-based applications and tmux - pkgver = 2.2.1 + pkgver = 2.5.1 pkgrel = 1 url = https://github.com/DarthSim/overmind arch = x86_64 license = MIT makedepends = go + depends = glibc depends = tmux conflicts = overmind-bin conflicts = overmind-git - source = overmind-2.2.1.tar.gz::https://github.com/DarthSim/overmind/archive/v2.2.1.tar.gz - sha512sums = d616cad5defc204c20e9d679d4a6d87886044dff5173e9e836aa782d8e1b4271189fcaf14f7ee4b2cea70b738b59d6561bf51b2e0d9e2944e76709de7c2e2300 - b2sums = 0d4abe280c89818f695d7c205d6cbb9773d75521df3f50dbc8062cdc844c4183d90e38a1d38ffb61f80a3581a511b06acc6715f34989f2f9cd7f3e1bbf8737cf + source = overmind-2.5.1.tar.gz::https://github.com/DarthSim/overmind/archive/v2.5.1.tar.gz + sha256sums = d616b89465d488878ed2e1f79e66f8af5b5c2f1d3cf75c2b08e04fb04752d187 + b2sums = da49f9b8764f80ec55b4d4af7376615a165e058078194c9befe08e5afe5c3e81f315f339166caad009fcc0aa1f335fb58c0025d833bd4034398dbb1396890330 pkgname = overmind - @@ -1,32 +1,34 @@ -#!/hint/bash -# Maintainer: Adrien Smith <adrien at bouldersmiths dot com> +#!/hint/bash -e +# Maintainer: Adrien Smith <adrien@panissupraomnia.dev> + pkgname=overmind -pkgver=2.2.1 +pkgver=2.5.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') +depends=('glibc' 'tmux') makedepends=("go") conflicts=("$pkgname-bin" "$pkgname-git") source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('d616cad5defc204c20e9d679d4a6d87886044dff5173e9e836aa782d8e1b4271189fcaf14f7ee4b2cea70b738b59d6561bf51b2e0d9e2944e76709de7c2e2300') -b2sums=('0d4abe280c89818f695d7c205d6cbb9773d75521df3f50dbc8062cdc844c4183d90e38a1d38ffb61f80a3581a511b06acc6715f34989f2f9cd7f3e1bbf8737cf') +sha256sums=('d616b89465d488878ed2e1f79e66f8af5b5c2f1d3cf75c2b08e04fb04752d187') +b2sums=('da49f9b8764f80ec55b4d4af7376615a165e058078194c9befe08e5afe5c3e81f315f339166caad009fcc0aa1f335fb58c0025d833bd4034398dbb1396890330') build() { cd "$pkgname-$pkgver" - go build \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -modcacherw \ - -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ - -o $pkgname . + + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" + go build -o $pkgname . } package() { cd "$pkgname-$pkgver" + install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |