summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax2018-12-07 16:41:48 +1100
committerMax2018-12-07 16:41:48 +1100
commit1623661e50e9b0bbc75588217fd0b1ea590d8a2f (patch)
tree1c11ed7804fa8df410dbe0bb01289c57738e5f3c
parentaa03190ebbe174f309224c29d65a061dc81d6067 (diff)
downloadaur-1623661e50e9b0bbc75588217fd0b1ea590d8a2f.tar.gz
updated to version 1.2.2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD23
2 files changed, 14 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 062800e1da4..84c86c08529 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kairosdb
pkgdesc = a fast distributed scalable time series database written on top of Cassandra.
- pkgver = 0.9.6
+ pkgver = 1.2.2
pkgrel = 1
url = https://github.com/kairosdb/kairosdb
arch = i686
@@ -9,10 +9,10 @@ pkgbase = kairosdb
makedepends = deb2targz
depends = cassandra
provides = kairosdb
- source = https://github.com/kairosdb/kairosdb/releases/download/v0.9.4/kairosdb_0.9.4-6_all.deb
+ source = https://github.com/kairosdb/kairosdb/releases/download/v1.2.2/kairosdb-1.2.2-1.tar.gz
source = kairosdb.service
source = kairosdb
- md5sums = f0f656f58b0b3b0b9cb26d3c573b98fb
+ md5sums = 269076a61419397b22bc35c6dfa0af17
md5sums = 3f957c6bfc4e1206dba09c049baa10a0
md5sums = ab930d18b8f13ee662a1f7d6380573a0
diff --git a/PKGBUILD b/PKGBUILD
index 624025041cf..a3286de2cfa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: <aaron.l.france@gmail.com>
pkgname=kairosdb
-pkgver=0.9.6
+pkgver=1.2.2
pkgrel=1
pkgdesc="a fast distributed scalable time series database written on top of Cassandra."
arch=('i686' 'x86_64')
@@ -9,30 +9,29 @@ license=('Apache')
depends=('cassandra')
makedepends=('deb2targz')
provides=('kairosdb')
-source=('https://github.com/kairosdb/kairosdb/releases/download/v0.9.4/kairosdb_0.9.4-6_all.deb'
+source=('https://github.com/kairosdb/kairosdb/releases/download/v1.2.2/kairosdb-1.2.2-1.tar.gz'
'kairosdb.service'
'kairosdb')
-md5sums=('f0f656f58b0b3b0b9cb26d3c573b98fb'
+md5sums=('269076a61419397b22bc35c6dfa0af17'
'3f957c6bfc4e1206dba09c049baa10a0'
'ab930d18b8f13ee662a1f7d6380573a0')
build() {
- deb2targz $srcdir/kairosdb_0.9.4-6_all.deb > /dev/null 2>&1
- tar zxvf $srcdir/kairosdb_0.9.4-6_all.tar.gz > /dev/null 2>&1
+ tar zxvf $srcdir/kairosdb-1.2.2-1.tar.gz
}
package() {
sed -i 's/\(kairosdb.service.datastore=org.kairosdb.datastore.h2.H2Module\)/#\1/g' \
- $srcdir/opt/kairosdb/conf/kairosdb.properties
+ $srcdir/kairosdb/conf/kairosdb.properties
sed -i 's/#\(kairosdb.service.datastore=org.kairosdb.datastore.cassandra.CassandraModule\)/\1/g' \
- $srcdir/opt/kairosdb/conf/kairosdb.properties
+ $srcdir/kairosdb/conf/kairosdb.properties
- mv $srcdir/opt/ $pkgdir/opt/
- mkdir -p ${pkgdir}/{etc/kairosdb,var/log/kairosdb}
+ mkdir -p ${pkgdir}/{etc/kairosdb,var/log/kairosdb,opt}
+ cp -r $srcdir/kairosdb $pkgdir/opt/kairosdb
- install -Dm644 ${srcdir}/kairosdb.service ${pkgdir}/lib/systemd/system/kairosdb.service
- install -Dm644 ${srcdir}/kairosdb ${pkgdir}/usr/bin/kairosdb
- chmod +x ${pkgdir}/usr/bin/kairosdb
+ install -Dm644 ${srcdir}/kairosdb.service ${pkgdir}/usr/lib/systemd/system/kairosdb.service
+ install -Dm644 ${srcdir}/kairosdb/bin/kairosdb.sh ${pkgdir}/opt/kairosdb/bin/kairosdb
+ chmod +x ${pkgdir}/opt/kairosdb/bin/kairosdb
}
# vim:set ts=2 sw=2 et: