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

Михаил Страшун dicebot at archlinux.org
Tue Feb 17 10:05:48 UTC 2015


    Date: Tuesday, February 17, 2015 @ 11:05:48
  Author: dicebot
Revision: 127838

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

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

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

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-02-17 10:05:32 UTC (rev 127837)
+++ community-i686/PKGBUILD	2015-02-17 10:05:48 UTC (rev 127838)
@@ -1,53 +0,0 @@
-# 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"
-}

Copied: dub/repos/community-i686/PKGBUILD (from rev 127837, dub/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-02-17 10:05:48 UTC (rev 127838)
@@ -0,0 +1,54 @@
+# Maintainer:  Mihails Strasuns <public at dicebot.lv>
+# Contributor: Moritz Maxeiner <moritz at ucworks.org>
+pkgname=dub
+pkgver=0.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
+    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`
+  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-17 10:05:32 UTC (rev 127837)
+++ community-x86_64/PKGBUILD	2015-02-17 10:05:48 UTC (rev 127838)
@@ -1,53 +0,0 @@
-# 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"
-}

Copied: dub/repos/community-x86_64/PKGBUILD (from rev 127837, dub/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-02-17 10:05:48 UTC (rev 127838)
@@ -0,0 +1,54 @@
+# Maintainer:  Mihails Strasuns <public at dicebot.lv>
+# Contributor: Moritz Maxeiner <moritz at ucworks.org>
+pkgname=dub
+pkgver=0.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
+    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`
+  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