[arch-commits] Commit in dub/repos (4 files)

Михаил Страшун dicebot at archlinux.org
Sun Feb 15 13:13:44 UTC 2015


    Date: Sunday, February 15, 2015 @ 14:13:43
  Author: dicebot
Revision: 127742

archrelease: copy trunk to community-i686, community-x86_64

Added:
  dub/repos/community-i686/PKGBUILD
    (from rev 127741, dub/trunk/PKGBUILD)
  dub/repos/community-x86_64/PKGBUILD
    (from rev 127741, dub/trunk/PKGBUILD)
Deleted:
  dub/repos/community-i686/PKGBUILD
  dub/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  106 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   43 -----------------
 community-x86_64/PKGBUILD |   43 -----------------
 3 files changed, 106 insertions(+), 86 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-02-15 13:13:19 UTC (rev 127741)
+++ community-i686/PKGBUILD	2015-02-15 13:13:43 UTC (rev 127742)
@@ -1,43 +0,0 @@
-# Maintainer:  Mihails Strasuns <public at dicebot.lv>
-# Contributor: Moritz Maxeiner <moritz at ucworks.org>
-pkgname=dub
-pkgver=0.9.22
-pkgrel=2
-pkgdesc="Developer package manager for D programming language"
-arch=('i686' 'x86_64')
-url="https://github.com/rejectedsoftware/dub"
-license=('MIT')
-# makedepends=('d-compiler' 'd-runtime' 'git')
-makedepends=('ldc' 'git')
-# depends=('d-runtime' 'curl')
-depends=('liblphobos')
-conflicts=('dub-git')
-source=(
-    "git+http://github.com/rejectedsoftware/dub.git#tag=v$pkgver"
-    "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
-)
-sha256sums=(
-    'SKIP'
-    'SKIP'
-)
-
-build()
-{
-  # DC=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`
-  DC=ldmd
-  cd "${srcdir}/${pkgname}"
-
-  echo Generating version file...
-  GITVER=$(git describe) || GITVER=unknown
-  echo "module dub.version_; enum dubVersion = \"$GITVER\";" > source/dub/version_.d
-
-  $DC -ofbin/dub -g -debug -w -version=DubUseCurl -Isource -L-lcurl @build-files.txt
-}
-
-package()
-{
-  cd "${srcdir}/${pkgname}"
-  install -D -m755 bin/dub "${pkgdir}/usr/bin/dub"
-  install -D -m644 scripts/bash-completion/dub.bash $pkgdir/usr/share/bash-completion/completions/dub
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}

Copied: dub/repos/community-i686/PKGBUILD (from rev 127741, dub/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-02-15 13:13:43 UTC (rev 127742)
@@ -0,0 +1,53 @@
+# Maintainer:  Mihails Strasuns <public at dicebot.lv>
+# Contributor: Moritz Maxeiner <moritz at ucworks.org>
+pkgname=dub
+pkgver=v0.9.22.r198.g83b2926
+pkgrel=1
+pkgdesc="Developer package manager for D programming language"
+arch=('i686' 'x86_64')
+url="https://github.com/D-Programming-Language/dub"
+license=('MIT')
+# makedepends=('d-compiler' 'd-runtime' 'git')
+makedepends=('ldc' 'git')
+# depends=('d-runtime' 'curl')
+depends=('liblphobos')
+conflicts=('dub-git')
+source=(
+  "git+https://github.com/D-Programming-Language/dub.git#commit=83b2926f7ba88122be85a8841cedb854b0e3a630"
+  "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
+)
+sha256sums=(
+  'SKIP'
+  'SKIP'
+)
+
+pkgver() {
+  cd "$srcdir/$pkgname"
+  ( set -o pipefail
+    git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
+    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  )
+}
+
+build()
+{
+  # DC=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`
+  DC=ldmd
+  cd "${srcdir}/${pkgname}"
+
+  echo Generating version file...
+  GITVER=$(git describe) || GITVER=unknown
+  echo "module dub.version_;" > source/dub/version_.d
+  echo "enum dubVersion = \"$GITVER\";" >> source/dub/version_.d
+  echo "enum initialCompilerBinary = \"$DC\";" >> source/dub/version_.d
+
+  $DC -ofbin/dub -w -g -version=DubUseCurl -Isource -L-lcurl @build-files.txt
+}
+
+package()
+{
+  cd "${srcdir}/${pkgname}"
+  install -D -m755 bin/dub "${pkgdir}/usr/bin/dub"
+  install -D -m644 scripts/bash-completion/dub.bash $pkgdir/usr/share/bash-completion/completions/dub
+  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-02-15 13:13:19 UTC (rev 127741)
+++ community-x86_64/PKGBUILD	2015-02-15 13:13:43 UTC (rev 127742)
@@ -1,43 +0,0 @@
-# Maintainer:  Mihails Strasuns <public at dicebot.lv>
-# Contributor: Moritz Maxeiner <moritz at ucworks.org>
-pkgname=dub
-pkgver=0.9.22
-pkgrel=2
-pkgdesc="Developer package manager for D programming language"
-arch=('i686' 'x86_64')
-url="https://github.com/rejectedsoftware/dub"
-license=('MIT')
-# makedepends=('d-compiler' 'd-runtime' 'git')
-makedepends=('ldc' 'git')
-# depends=('d-runtime' 'curl')
-depends=('liblphobos')
-conflicts=('dub-git')
-source=(
-    "git+http://github.com/rejectedsoftware/dub.git#tag=v$pkgver"
-    "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
-)
-sha256sums=(
-    'SKIP'
-    'SKIP'
-)
-
-build()
-{
-  # DC=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`
-  DC=ldmd
-  cd "${srcdir}/${pkgname}"
-
-  echo Generating version file...
-  GITVER=$(git describe) || GITVER=unknown
-  echo "module dub.version_; enum dubVersion = \"$GITVER\";" > source/dub/version_.d
-
-  $DC -ofbin/dub -g -debug -w -version=DubUseCurl -Isource -L-lcurl @build-files.txt
-}
-
-package()
-{
-  cd "${srcdir}/${pkgname}"
-  install -D -m755 bin/dub "${pkgdir}/usr/bin/dub"
-  install -D -m644 scripts/bash-completion/dub.bash $pkgdir/usr/share/bash-completion/completions/dub
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}

Copied: dub/repos/community-x86_64/PKGBUILD (from rev 127741, dub/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-02-15 13:13:43 UTC (rev 127742)
@@ -0,0 +1,53 @@
+# Maintainer:  Mihails Strasuns <public at dicebot.lv>
+# Contributor: Moritz Maxeiner <moritz at ucworks.org>
+pkgname=dub
+pkgver=v0.9.22.r198.g83b2926
+pkgrel=1
+pkgdesc="Developer package manager for D programming language"
+arch=('i686' 'x86_64')
+url="https://github.com/D-Programming-Language/dub"
+license=('MIT')
+# makedepends=('d-compiler' 'd-runtime' 'git')
+makedepends=('ldc' 'git')
+# depends=('d-runtime' 'curl')
+depends=('liblphobos')
+conflicts=('dub-git')
+source=(
+  "git+https://github.com/D-Programming-Language/dub.git#commit=83b2926f7ba88122be85a8841cedb854b0e3a630"
+  "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
+)
+sha256sums=(
+  'SKIP'
+  'SKIP'
+)
+
+pkgver() {
+  cd "$srcdir/$pkgname"
+  ( set -o pipefail
+    git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
+    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  )
+}
+
+build()
+{
+  # DC=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`
+  DC=ldmd
+  cd "${srcdir}/${pkgname}"
+
+  echo Generating version file...
+  GITVER=$(git describe) || GITVER=unknown
+  echo "module dub.version_;" > source/dub/version_.d
+  echo "enum dubVersion = \"$GITVER\";" >> source/dub/version_.d
+  echo "enum initialCompilerBinary = \"$DC\";" >> source/dub/version_.d
+
+  $DC -ofbin/dub -w -g -version=DubUseCurl -Isource -L-lcurl @build-files.txt
+}
+
+package()
+{
+  cd "${srcdir}/${pkgname}"
+  install -D -m755 bin/dub "${pkgdir}/usr/bin/dub"
+  install -D -m644 scripts/bash-completion/dub.bash $pkgdir/usr/share/bash-completion/completions/dub
+  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



More information about the arch-commits mailing list