[arch-commits] Commit in ufw-extras/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Oct 23 17:37:37 UTC 2017


    Date: Monday, October 23, 2017 @ 17:37:36
  Author: arodseth
Revision: 264065

upgpkg: ufw-extras 0.4-1

Modified:
  ufw-extras/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-23 17:30:33 UTC (rev 264064)
+++ PKGBUILD	2017-10-23 17:37:36 UTC (rev 264065)
@@ -2,7 +2,7 @@
 # Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
 
 pkgname=ufw-extras
-pkgver=0.3
+pkgver=0.4
 pkgrel=1
 pkgdesc='Extra configuration files for UFW'
 arch=('any')
@@ -10,17 +10,13 @@
 makedepends=('git')
 depends=('ufw')
 license=('GPL2')
-source=("$pkgname::git://github.com/xyproto/$pkgname.git#tag=$pkgver")
+source=("$pkgname::git+https://github.com/xyproto/$pkgname.git#tag=$pkgver")
 md5sums=('SKIP')
 
 package() {
-  cd "$pkgname"
-
-  msg 'Packaging configuration files...'
-  for f in ufw-*; do
-    msg2 "$f"
-    install -Dm644 $f "$pkgdir/etc/ufw/applications.d/$f"
+  for f in "$pkgname/ufw-"*; do
+    install -Dm644 "$f" "$pkgdir/etc/ufw/applications.d/$(basename $f)"
   done
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list