[arch-commits] Commit in ufw-extras/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sun Oct 6 07:34:10 UTC 2013
Date: Sunday, October 6, 2013 @ 09:34:10
Author: arodseth
Revision: 98115
archrelease: copy trunk to community-any
Added:
ufw-extras/repos/community-any/PKGBUILD
(from rev 98114, ufw-extras/trunk/PKGBUILD)
Deleted:
ufw-extras/repos/community-any/PKGBUILD
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++++++--------------------------
1 file changed, 33 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-06 07:34:03 UTC (rev 98114)
+++ PKGBUILD 2013-10-06 07:34:10 UTC (rev 98115)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-
-pkgname=ufw-extras
-pkgver=0.2
-pkgrel=1
-pkgdesc='Extra configuration files for UFW'
-arch=('any')
-url='https://github.com/xyproto/ufw-extras'
-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')
-
-package() {
- cd "$srcdir/$pkgname-master"
-
- msg 'Packaging configuration files...'
- for f in ufw-*; do
- msg2 "$f"
- install -Dm644 $f "$pkgdir/etc/ufw/applications.d/$f"
- done
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ufw-extras/repos/community-any/PKGBUILD (from rev 98114, ufw-extras/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-10-06 07:34:10 UTC (rev 98115)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=ufw-extras
+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')
+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 "$pkgname"
+
+ msg 'Packaging configuration files...'
+ for f in ufw-*; do
+ msg2 "$f"
+ install -Dm644 $f "$pkgdir/etc/ufw/applications.d/$f"
+ done
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list