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

Михаил Страшун dicebot at archlinux.org
Wed Apr 8 19:02:39 UTC 2015


    Date: Wednesday, April 8, 2015 @ 21:02:39
  Author: dicebot
Revision: 130952

upgpkg: dub 0.9.23-1

dub 0.9.23 release

Modified:
  dub/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-08 18:53:19 UTC (rev 130951)
+++ PKGBUILD	2015-04-08 19:02:39 UTC (rev 130952)
@@ -1,7 +1,7 @@
 # Maintainer:  Mihails Strasuns <public at dicebot.lv>
 # Contributor: Moritz Maxeiner <moritz at ucworks.org>
 pkgname=dub
-pkgver=0.9.22.r198.g83b2926
+pkgver=0.9.23
 pkgrel=1
 pkgdesc="Developer package manager for D programming language"
 arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@
 depends=('liblphobos')
 conflicts=('dub-git')
 source=(
-  "git+https://github.com/D-Programming-Language/dub.git#commit=83b2926f7ba88122be85a8841cedb854b0e3a630"
+  "git+https://github.com/D-Programming-Language/dub.git#tag=v$pkgver"
   "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
 )
 sha256sums=(
@@ -21,15 +21,6 @@
   'SKIP'
 )
 
-pkgver() {
-  cd "$srcdir/$pkgname"
-  ( set -o pipefail
-    ver=`git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g'`
-    # remove leading 'v'
-    echo ${ver:1}
-  )
-}
-
 build()
 {
   # DC=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`



More information about the arch-commits mailing list