[arch-commits] Commit in openvas-scanner/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Wed Oct 25 22:22:00 UTC 2017


    Date: Wednesday, October 25, 2017 @ 22:21:59
  Author: shibumi
Revision: 264307

upgpkg: openvas-scanner 5.1.1-1

Modified:
  openvas-scanner/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-25 22:07:13 UTC (rev 264306)
+++ PKGBUILD	2017-10-25 22:21:59 UTC (rev 264307)
@@ -1,7 +1,9 @@
 # $Id$
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Maintainer  : Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer  : Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor : Daniel Micay <danielmicay at gmail.com>
 pkgname=openvas-scanner
-pkgver=5.0.8
+pkgver=5.1.1
 pkgrel=1
 pkgdesc='The OpenVAS scanning Daemon'
 arch=('i686' 'x86_64')
@@ -12,10 +14,10 @@
 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/2436/$pkgname-${pkgver}.tar.gz"
-        "http://wald.intevation.org/frs/download.php/2437/$pkgname-${pkgver}.tar.gz.asc"
-        "$pkgname.service")
-sha512sums=('99bf234495351c795fd97d2af6d17ea5e42ae4c1a35051a9917629cd415d57f3ea7d6c41347c1540e1be4bec13bde7d0c163b591e144237d50db451f492af292'
+source=("http://wald.intevation.org/frs/download.php/2423/openvas-scanner-5.1.1.tar.gz"
+        "http://wald.intevation.org/frs/download.php/2424/openvas-scanner-5.1.1.tar.gz.sig"
+        "${pkgname}.service")
+sha512sums=('8ca23fe9581c98381c030ee8e30a09876d538133980a589eff357321d2ceea0b24dbf8965ef7417e12abb9af240c6a26413b3041b219d28017c7f9ea04779fe1'
             'SKIP'
             '574a9125928e672a9a22a00cab9c635897eedad0eaae550295c21d45cabd52d1d1cd376f441665d37fd1bb9fa48360039f553c300eb15dd9b83cf14df7f37de5')
 validpgpkeys=(
@@ -23,7 +25,7 @@
 )
 
 build() {
-  cd $pkgname-$pkgver
+  cd "${pkgname}-${pkgver}"
   cmake -DCMAKE_BUILD_TYPE=Release -DSBINDIR=/usr/bin \
     -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var .
   make
@@ -30,7 +32,7 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir/" install
-  install -Dm644 ../$pkgname.service "$pkgdir/usr/lib/systemd/system/${pkgname}.service"
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
+  install -Dm644 ../"${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
 }



More information about the arch-commits mailing list