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

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


    Date: Wednesday, October 25, 2017 @ 22:23:07
  Author: shibumi
Revision: 264310

upgpkg: openvas-cli 1.4.5-1

Modified:
  openvas-cli/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-25 22:23:01 UTC (rev 264309)
+++ PKGBUILD	2017-10-25 22:23:07 UTC (rev 264310)
@@ -1,5 +1,7 @@
 # $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-cli
 pkgver=1.4.5
 pkgrel=1
@@ -12,8 +14,8 @@
 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/2397/$pkgname-$pkgver.tar.gz"
-        "http://wald.intevation.org/frs/download.php/2398/$pkgname-$pkgver.tar.gz.asc")
+source=("http://wald.intevation.org/frs/download.php/2397/${pkgname}-${pkgver}.tar.gz"
+        "http://wald.intevation.org/frs/download.php/2398/${pkgname}-${pkgver}.tar.gz.sig")
 sha512sums=('35ec391d1e25bfe1a49507b9e2ec69243411a6e839232334bb0f2eed26750a159942b7d14528fab9e57e1c7d7bf40fa087686444168ced4e4281ad78f2aeae85'
             'SKIP')
 validpgpkeys=(
@@ -21,7 +23,7 @@
 )
 
 build() {
-  cd $pkgname-$pkgver
+  cd "${pkgname}-${pkgver}"
   cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
     -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var .
   make
@@ -28,6 +30,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir/" install
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
 }



More information about the arch-commits mailing list