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

Dan Printzell wild at archlinux.org
Sat Jan 5 15:09:21 UTC 2019


    Date: Saturday, January 5, 2019 @ 15:09:20
  Author: wild
Revision: 420683

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-05 15:09:10 UTC (rev 420682)
+++ PKGBUILD	2019-01-05 15:09:20 UTC (rev 420683)
@@ -1,42 +0,0 @@
-# Maintainer: Dan Printzell <arch at vild.io>
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Mihails Strasuns <public at dicebot.lv>
-# Contributor: Moritz Maxeiner <moritz at ucworks.org>
-
-pkgname=dub
-pkgver=1.12.1
-pkgrel=1
-# Build date format is "mmm dd yyyy"
-_builddate="Dec 12 2018"
-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=('581b1cb6a5d4c2ff2bb02338e8a5d3aeee10761018f470923945e6a8dc0341352bc816dbb65b6b72202cc7398c2d9d9f076494030ac920e7b8280fff83ddcb5a')
-
-build() {
-	cd "$pkgname-$pkgver"
-
-	sed -i "s/__DATE__/\"$_builddate\"/" source/dub/commandline.d
-
-	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 -L-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -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" "$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 420682, dub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-05 15:09:20 UTC (rev 420683)
@@ -0,0 +1,42 @@
+# Maintainer: Dan Printzell <arch at vild.io>
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Mihails Strasuns <public at dicebot.lv>
+# Contributor: Moritz Maxeiner <moritz at ucworks.org>
+
+pkgname=dub
+pkgver=1.13.0
+pkgrel=1
+# Build date format is "mmm dd yyyy"
+_builddate="Jan 05 2019"
+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=('9d9a3f22ef4ae28e117e2d14b6837a975b66316e99dad4de9c9def278a40e567d1f6d73f56381a49a4ddd2d96b86910eccb335171439701a282e4f1ce8630422')
+
+build() {
+	cd "$pkgname-$pkgver"
+
+	sed -i "s/__DATE__/\"$_builddate\"/" source/dub/commandline.d
+
+	echo Generating version file...
+	echo "module dub.version_;" > source/dub/version_.d
+	echo "enum dubVersion = \"$pkgver\";" >> source/dub/version_.d
+
+	ldmd2 -ofbin/dub -release -O5 -version=DubUseCurl -Isource -L-lcurl -L="$LDFLAGS" -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" "$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