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

Alexander Rødseth arodseth at nymeria.archlinux.org
Sun Oct 6 07:34:03 UTC 2013


    Date: Sunday, October 6, 2013 @ 09:34:03
  Author: arodseth
Revision: 98114

upgpkg: ufw-extras 0.3.0.g2d8cf5b-1

Modified:
  ufw-extras/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-06 01:31:03 UTC (rev 98113)
+++ PKGBUILD	2013-10-06 07:34:03 UTC (rev 98114)
@@ -2,19 +2,26 @@
 # Maintainer: Alexander Rødseth <rodseth at gmail.com>
 
 pkgname=ufw-extras
-pkgver=0.2
+pkgver=0.3.0.g2d8cf5b
 pkgrel=1
 pkgdesc='Extra configuration files for UFW'
 arch=('any')
 url='https://github.com/xyproto/ufw-extras'
+makedepends=('git')
+depends=('ufw')
 license=('GPL2')
-depends=('ufw')
-source=("$pkgname.tgz::https://nodeload.github.com/xyproto/$pkgname/tar.gz/master")
-sha256sums=('99ec020694eb53621e4e40c6b60ed7b0a7c93bfe787875b10d040278a15e17a1')
-backup=('etc/ufw/applications.d/ufw-mosh')
+source=("$pkgname::git://github.com/xyproto/$pkgname.git")
+md5sums=('SKIP')
 
+pkgver() {
+  cd "$pkgname"
+
+  # use the latest tag
+  ver=`git describe --long` echo "${ver//-/.}"
+}
+
 package() {
-  cd "$srcdir/$pkgname-master"
+  cd "$pkgname"
 
   msg 'Packaging configuration files...'
   for f in ufw-*; do




More information about the arch-commits mailing list