summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 818300900fe..327c39f6352 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Augusto F. Hack <hack.augusto@gmail.com>
pkgname=diamond
-pkgver=4.0
+pkgver=4.0.41
pkgrel=1
pkgdesc="Diamond is daemon that collects system metrics and publishes them to graphite and others"
arch=(any)
@@ -12,13 +12,13 @@ depends=('python2' 'python2-configobj')
makedepends=('unzip')
optdepends=('python2-psycopg2: Collect data from postgresql database')
backup=(etc/diamond/diamond.conf)
-source=("https://github.com/python-diamond/Diamond/archive/v${pkgver}.zip"
+source=("https://pypi.python.org/packages/source/d/diamond/diamond-${pkgver}.tar.gz"
'diamond.service')
-md5sums=('87f4e5c1340ce085b3994360da0f8c4d'
+md5sums=('063ee62fc30a678260df582335a583c3'
'65b275caf75c19e5040d3dbcd2a7e688')
package() {
- cd "$srcdir/Diamond-${pkgver}"
+ cd "$srcdir/diamond-${pkgver}"
install -D -m644 "$srcdir/diamond.service" "$pkgdir/usr/lib/systemd/system/diamond.service"
python2 setup.py install --root="$pkgdir/" --optimize=1