Date: Tuesday, March 13, 2018 @ 18:03:45
  Author: shibumi
Revision: 307417

upgpkg: openvas-libraries 9.0.2-1

New Version and New sources
(github uses https instead of their normal release plattform)

Modified:
  openvas-libraries/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-13 18:02:24 UTC (rev 307416)
+++ PKGBUILD    2018-03-13 18:03:45 UTC (rev 307417)
@@ -2,8 +2,9 @@
 # Maintainer  : Christian Rebischke <chris.rebisc...@archlinux.org>
 # Maintainer  : Levente Polyak <anthraxx[at]archlinux[dot]org>
 # Contributor : Daniel Micay <danielmi...@gmail.com>
+_alternative_pkgname=gvm-libs
 pkgname=openvas-libraries
-pkgver=9.0.1
+pkgver=9.0.2
 pkgrel=1
 pkgdesc='The OpenVAS libraries'
 arch=('x86_64')
@@ -11,12 +12,10 @@
 license=('GPL')
 depends=('gnutls' 'libpcap' 'gpgme' 'libssh' 'glib2' 'libldap' 'hiredis')
 makedepends=('cmake' 'doxygen')
-groups=(openvas)
-# These URLs need to be manually updated on every pkgver upgrade.
-# http://wald.intevation.org/frs/?group_id=29
-source=("http://wald.intevation.org/frs/download.php/2420/openvas-libraries-9.0.1.tar.gz";
-        
"http://wald.intevation.org/frs/download.php/2421/openvas-libraries-9.0.1.tar.gz.sig";)
-sha512sums=('d39694a77c368fdb0b2df5310bf4c7b1bf2cba27d2d9ca16b5291640f82e65eca947e21d3cf10d890d9679f48f7321aef95a7826b5827f8a24f04f9f1a759a90'
+groups=('openvas')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/greenbone/gvm-libs/releases/download/v${pkgver}/openvas-libraries-${pkgver}.tar.gz";
+        
"https://github.com/greenbone/gvm-libs/releases/download/v${pkgver}/openvas-libraries-${pkgver}.tar.gz.sig";)
+sha512sums=('b8ca65fd636e94ae942e042d7e2390f3c546054e1431f4ad3acd57140b497e3bf165cfbf07effdc7978842b5193182bb1115b89145440daf0e7137c0966a8118'
             'SKIP')
 validpgpkeys=(
               'C3B468D2288C68B9D526452248479FF648DB4530' # OpenVAS Transfer 
Integrity
@@ -23,7 +22,7 @@
 )
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd "${_alternative_pkgname}-${pkgver}"
   LDFLAGS+=" -Wl,--no-as-needed"
   cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
     -DLIBDIR=/usr/lib -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var .
@@ -31,7 +30,7 @@
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${_alternative_pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}/" install
   rmdir "${pkgdir}/var/run"
 }

Reply via email to