Commits

Konstantin Nikiforov committed f3250d4

cassandra -> 1.1.0

  • Participants
  • Parent commits d8c7df8

Comments (0)

Files changed (1)

cassandra/PKGBUILD

 # Contributor: Thomas Dziedzic < gostrc at gmail >
-# Maintainer: <helllamer@gmail.com> 
+# Maintainer: Konstantin Nikiforov <helllamer@gmail.com> 
 # Thanks to Alper Kanat <alperkanat@raptiye.org> for cassandra rc.d script. 
 
 # check() function is used to verify GPG signature. check() imports 3 keys into your GPG keyring at first build.
 # If you have problems with gpg, you can remove check() function, and all will be ok.
 
 pkgname=cassandra
-pkgver=1.0.8
+pkgver=1.1.0
 pkgrel=1
 pkgdesc="NoSQL database (precompiled official version)"
 arch=('any')
 license=('APACHE')
 depends=('java-runtime')
 makedepends=('gnupg')
-url_tgz="http://apache.mirror.anlx.net/cassandra/$pkgver/apache-$pkgname-$pkgver-bin.tar.gz"
+url_tgz="http://apache.mirror.anlx.net/$pkgname/$pkgver/apache-$pkgname-$pkgver-bin.tar.gz"
 source=($url_tgz cassandra)
-md5sums=('676887f6d185689c3383908f3ad8e015'
+md5sums=('8befe18a4abc342d03d1fbaaa0ac836b'
          '19d01c3e8c967fa4fc4456f53b36f9fd')
 
 ## to check gpg signature
         msg2 "(To disable gpg-check: remove/rename check() function from/in PKGBUILD code.)"
 	gpg --list-keys | grep 'sylvain@datastax.com' || {
 		url_keys='https://www.apache.org/dist/cassandra/KEYS'
-		msg "No maintainers' GPG keys found. Importing from $url_keys (2,7 KiB)..."
+		msg "No maintainers' GPG keys found. Importing from $url_keys ..."
 		wget --quiet -O - $url_keys | gpg --import -
 	}
 	# no need to add signature to package dependences
+	echo "$url_tgz.asc"
 	wget --quiet -O - "$url_tgz.asc" | gpg --verify - "apache-$pkgname-$pkgver-bin.tar.gz"
 	msg2 "Detached GPG signature is valid."
 }