2023-12-15 04:00:26 +04:00
|
|
|
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
2022-10-10 00:07:02 +04:00
|
|
|
pkgname=httpprocprobed
|
2023-12-16 02:22:46 +04:00
|
|
|
pkgver=3.1.0
|
2022-10-10 00:07:02 +04:00
|
|
|
pkgrel=1
|
2023-02-04 20:42:24 +04:00
|
|
|
pkgdesc="HTTPProcProbeD hands out an HTTP endpoint to get if processes are running."
|
2022-10-10 00:07:02 +04:00
|
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
2023-12-15 04:00:26 +04:00
|
|
|
url="https://git.arav.su/Arav/httpprocprobed"
|
2022-10-10 00:07:02 +04:00
|
|
|
license=('MIT')
|
2023-12-15 04:00:26 +04:00
|
|
|
makedepends=('go>=1.17')
|
|
|
|
backup=('etc/httpprocprobed.json')
|
|
|
|
source=("https://git.arav.su/Arav/httpprocprobed/archive/$pkgver.tar.gz")
|
2022-10-10 00:07:02 +04:00
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname"
|
2023-12-15 04:24:33 +04:00
|
|
|
export GOPATH="$srcdir"/gopath
|
|
|
|
export CGO_CPPFLAGS="${CPPFLAGS}"
|
|
|
|
export CGO_CFLAGS="${CFLAGS}"
|
|
|
|
export CGO_CXXFLAGS="${CXXFLAGS}"
|
|
|
|
export CGO_LDFLAGS="${LDFLAGS}"
|
|
|
|
make VERSION=$pkgver DESTDIR="$pkgdir/" PREFIX="/usr"
|
2022-10-10 00:07:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname"
|
2023-12-15 04:24:33 +04:00
|
|
|
make DESTDIR="$pkgdir/" PREFIX="/usr" install
|
2022-10-10 00:07:02 +04:00
|
|
|
}
|