diff --git a/build/archlinux/PKGBUILD b/build/archlinux/PKGBUILD new file mode 100644 index 0000000..db44c91 --- /dev/null +++ b/build/archlinux/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Alexander "Arav" Andreev +pkgname=httpprocprobed +pkgver=2.0.0 +pkgrel=1 +pkgdesc="HTTPProcProbeD hands out an HTTP endpoint to get a status of processes." +arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') +url="https://git.arav.top/Arav/httpprocprobed" +license=('MIT') +groups=() +depends=() +makedepends=('go') +provides=('httpprocprobed') +conflicts=('httpprocprobed') +replaces=() +backup=('etc/httpprocprobed.conf') +options=() +install= +source=('https://git.arav.top/Arav/httpprocprobed/archive/1.4.0.tar.gz') +noextract=() +md5sums=('SKIP') + +build() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir/" +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir/" install +} \ No newline at end of file diff --git a/contrib/archlinux/PKGBUILD b/contrib/archlinux/PKGBUILD deleted file mode 100644 index 832611c..0000000 --- a/contrib/archlinux/PKGBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Maintainer: Alexander "Arav" Andreev -pkgname=httpprocwatchd -pkgver=1.3.2 -pkgrel=1 -pkgdesc="HTTPProcWatchD hands out an HTTP endpoint to see status of watched processes." -arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') -url="https://git.arav.top/Arav/httpprocwatchd" -license=('MIT') -source=('git+https://git.arav.top/Arav/httpprocwatchd.git') -md5sums=('SKIP') -makedepends=('go') - -build() { - cd "$srcdir/$pkgname" - make DESTDIR="$pkgdir/" -} - -package() { - cd "$srcdir/$pkgname" - make DESTDIR="$pkgdir/" install - make DESTDIR="$pkgdir/" install-service -} \ No newline at end of file