git » judy.git » commit 265fb61

Add judy for netdata

author Sven-Hendrik Haase
2019-09-22 01:01:18 UTC
committer Sven-Hendrik Haase
2019-09-22 01:01:18 UTC
parent f51f6d80cee2f0d525c90381bb0d11dea60b06ea

Add judy for netdata

PKGBUILD +32 -0

diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..40bda52
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haasr <svenstaro@gmail.com>
+# Contributor: nl6720 <nl6720@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: d'Ronin <daronin@2600.com>
+
+pkgname=judy
+pkgver=1.0.5
+pkgrel=1
+arch=('x86_64')
+pkgdesc='C library creating and accessing dynamic arrays'
+depends=('glibc')
+makedepends=('gcc')
+license=('LGPL')
+url='http://judy.sourceforge.net/'
+source=("https://downloads.sourceforge.net/judy/Judy-${pkgver}.tar.gz")
+sha512sums=('3540f003509acac3b1260424380ddf97914f7745')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir" install
+}