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

Dan Printzell wild at archlinux.org
Tue Apr 28 20:40:11 UTC 2020


    Date: Tuesday, April 28, 2020 @ 20:40:10
  Author: wild
Revision: 622099

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-28 20:40:03 UTC (rev 622098)
+++ PKGBUILD	2020-04-28 20:40:10 UTC (rev 622099)
@@ -1,40 +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.20.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=('ldc')
-depends=('liblphobos' 'curl')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/dub/archive/v$pkgver.tar.gz")
-sha512sums=('4ad750ab8b968005d1510f1ab6125d8167c67e1d2374b0f7df4d3624139430fedfa45d88b0ded64577981e0ffd863554eb4ee2b736eb22354d5ace4b0da589a8')
-
-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 -release -O5 -version=DubUseCurl -Isource -L-lcurl -L="$LDFLAGS" -release -flto=full -linker=gold -link-defaultlib-shared=false -L--build-id @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, fish and zsh completion
-	install -Dm644 "$pkgname-$pkgver/scripts/bash-completion/dub.bash" "$pkgdir/usr/share/bash-completion/completions/dub"
-	install -Dm644 "$pkgname-$pkgver/scripts/fish-completion/dub.fish" "$pkgdir/usr/share/fish/vendor_completions.d/dub.fish"
-	install -Dm644 "$pkgname-$pkgver/scripts/zsh-completion/_dub" "$pkgdir/usr/share/zsh/site-functions/_dub"
-}

Copied: dub/repos/community-x86_64/PKGBUILD (from rev 622098, dub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-28 20:40:10 UTC (rev 622099)
@@ -0,0 +1,40 @@
+# 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.20.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=('9509c5272f72811ddedb840379dc474abc2328b1863464dcc1cba1c4a017f7409c206d38366e68c5e37c602a380c50189d5fe300664015d16e3629aa57e48afb')
+
+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 -release -O5 -version=DubUseCurl -Isource -L-lcurl -L="$LDFLAGS" -release -flto=full -linker=gold -link-defaultlib-shared=false -L--build-id @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, fish and zsh completion
+	install -Dm644 "$pkgname-$pkgver/scripts/bash-completion/dub.bash" "$pkgdir/usr/share/bash-completion/completions/dub"
+	install -Dm644 "$pkgname-$pkgver/scripts/fish-completion/dub.fish" "$pkgdir/usr/share/fish/vendor_completions.d/dub.fish"
+	install -Dm644 "$pkgname-$pkgver/scripts/zsh-completion/_dub" "$pkgdir/usr/share/zsh/site-functions/_dub"
+}



More information about the arch-commits mailing list