[arch-commits] Commit in dub/repos/community-x86_64 (PKGBUILD PKGBUILD)

Dan Printzell wild at archlinux.org
Mon Apr 16 21:06:22 UTC 2018


    Date: Monday, April 16, 2018 @ 21:06:22
  Author: wild
Revision: 316571

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-16 21:06:11 UTC (rev 316570)
+++ PKGBUILD	2018-04-16 21:06:22 UTC (rev 316571)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Dan Printzell <arch at vild.io>
-# Contributor: Mihails Strasuns <public at dicebot.lv>
-# Contributor: Moritz Maxeiner <moritz at ucworks.org>
-
-pkgname=('dub')
-pkgver=1.8.0
-pkgrel=1
-pkgdesc="Developer package manager for D programming language"
-arch=('x86_64')
-url="https://github.com/D-Programming-Language/dub"
-license=('MIT')
-groups=('dlang')
-makedepends=('dmd')
-depends=('libphobos' 'curl')
-
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/dub/archive/v$pkgver.tar.gz")
-sha512sums=('042c84266c3f8f49fe882f79eff3df6d8e83d9b9c93f6fde06b50212282a9e3ecd80f6b75c08c51f62a45f4aec409fff6022b0fe74ee1b0b0bcbf4d7d6930be0')
-
-build() {
-	DC=dmd
-	cd "$pkgname-$pkgver"
-
-	echo Generating version file...
-	echo "module dub.version_;" > source/dub/version_.d
-	echo "enum dubVersion = \"$pkgver\";" >> source/dub/version_.d
-
-	$DC -ofbin/dub -w -O -g -version=DubUseCurl -Isource -L-lcurl @build-files.txt
-}
-
-package() {
-	# binaries
-	install -Dm755 "$pkgname-$pkgver/bin/dub" "$pkgdir/usr/bin/dub"
-
-	# license
-	install -Dm644 "$pkgname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-	# bash completion
-	install -Dm644 "$pkgname-$pkgver/scripts/bash-completion/dub.bash" "$pkgdir/usr/share/bash-completion/completions/dub"
-}

Copied: dub/repos/community-x86_64/PKGBUILD (from rev 316570, dub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-16 21:06:22 UTC (rev 316571)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Dan Printzell <arch at vild.io>
+# Contributor: Mihails Strasuns <public at dicebot.lv>
+# Contributor: Moritz Maxeiner <moritz at ucworks.org>
+
+pkgname=('dub')
+pkgver=1.8.1
+pkgrel=1
+pkgdesc="Developer package manager for D programming language"
+arch=('x86_64')
+url="https://github.com/D-Programming-Language/dub"
+license=('MIT')
+groups=('dlang')
+makedepends=('ldc')
+depends=('liblphobos' 'curl')
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/dub/archive/v$pkgver.tar.gz")
+sha512sums=('e3aafbf3f8292b1e1c97c44107bef684caf86b0229c5630da1dcb47f8ff02377bfef2e813bb97fa06563b95842f846100aae61c5bc4123695b497c8b076179d6')
+
+build() {
+	cd "$pkgname-$pkgver"
+
+	echo Generating version file...
+	echo "module dub.version_;" > source/dub/version_.d
+	echo "enum dubVersion = \"$pkgver\";" >> source/dub/version_.d
+
+	ldmd2 -ofbin/dub -w -O -g -version=DubUseCurl -Isource -L-lcurl -release -flto=full -linker=gold -link-defaultlib-shared=false @build-files.txt
+}
+
+package() {
+	# binaries
+	install -Dm755 "$pkgname-$pkgver/bin/dub" "$pkgdir/usr/bin/dub"
+
+	# license
+	install -Dm644 "$pkgname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+	# bash completion
+	install -Dm644 "$pkgname-$pkgver/scripts/bash-completion/dub.bash" "$pkgdir/usr/share/bash-completion/completions/dub"
+}



More information about the arch-commits mailing list