28 lines
839 B
Bash
28 lines
839 B
Bash
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
|
pkgname=httpprocprobed
|
|
pkgver=3.2.0
|
|
pkgrel=1
|
|
pkgdesc="HTTPProcProbeD hands out an HTTP endpoint to get if processes are running."
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
|
url="https://git.arav.su/Arav/httpprocprobed"
|
|
license=('MIT')
|
|
makedepends=('go>=1.17')
|
|
options=('!strip')
|
|
backup=('etc/httpprocprobed.json')
|
|
source=("https://git.arav.su/Arav/httpprocprobed/archive/$pkgver.tar.gz")
|
|
md5sums=('SKIP')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
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"
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
make DESTDIR="$pkgdir/" PREFIX="/usr" install
|
|
} |