diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-09 11:54:06 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-09 12:16:18 -0400 |
commit | 072b6f671ce99c7bdf826274e1593b6a08c670a0 (patch) | |
tree | c9e92e34fd7637e359d8a232693c257ab36c130e | |
parent | 5685a4a307ed4178e0cb573ca60e193ab2035f07 (diff) | |
download | abslibre-072b6f671ce99c7bdf826274e1593b6a08c670a0.tar.gz abslibre-072b6f671ce99c7bdf826274e1593b6a08c670a0.tar.bz2 abslibre-072b6f671ce99c7bdf826274e1593b6a08c670a0.zip |
add ~lukeshu/collectd-systemd
-rw-r--r-- | ~lukeshu/collectd-systemd/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/~lukeshu/collectd-systemd/PKGBUILD b/~lukeshu/collectd-systemd/PKGBUILD new file mode 100644 index 000000000..1b1125d8c --- /dev/null +++ b/~lukeshu/collectd-systemd/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=collectd-systemd +pkgver=20170820 +pkgdesc="A collectd plugin to read systemd unit and job counts" +url="https://git.lukeshu.com/$pkgname.git" +license=('Apache') + +pkgrel=1 +arch=('any') +depends=('collectd' 'systemd' 'python2-dbus') +source=("https://repo.parabola.nu/other/~lukeshu/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('9a5bf4e8f6f775ae98182a0577c91371') + +_config=( + prefix=/usr +) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make "${_config[@]}" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make "${_config[@]}" install DESTDIR="$pkgdir" +} |