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

Sergej Pupykin spupykin at archlinux.org
Wed Mar 1 12:24:08 UTC 2017


    Date: Wednesday, March 1, 2017 @ 12:24:07
  Author: spupykin
Revision: 214351

Modified:
  prosody/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-01 12:13:45 UTC (rev 214350)
+++ PKGBUILD	2017-03-01 12:24:07 UTC (rev 214351)
@@ -9,13 +9,15 @@
 pkgname=prosody
 epoch=1
 pkgrel=2
+_branch=0.10
+_branch_desc="future release"
 _revision=2fd20f372cb1
 pkgver=0.10.r7198+.2fd20f372cb1+
 pkgver() {
   cd "$srcdir/prosody-hg"
-  printf "0.10.r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
+  printf "${_branch}.r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
 }
-pkgdesc="Lightweight and extensible Jabber/XMPP server written in Lua (development build from trunk-branch)"
+pkgdesc="Lightweight and extensible Jabber/XMPP server written in Lua (${_branch} is ${_branch_desc} branch)"
 arch=('i686' 'x86_64')
 url="https://prosody.im/"
 license=('MIT')
@@ -30,7 +32,7 @@
 	    'lua51-dbi: SQL storage support')
 install=prosody.install
 backup=('etc/prosody/prosody.cfg.lua')
-source=("prosody-hg::hg+https://hg.prosody.im/0.10#revision=${_revision}"
+source=("prosody-hg::hg+https://hg.prosody.im/${_branch}#revision=${_revision}"
         'prosody.tmpfile.d'
         'sysuser.conf'
         'prosody.service')



More information about the arch-commits mailing list