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

Dan Printzell wild at archlinux.org
Mon May 3 21:19:02 UTC 2021


    Date: Monday, May 3, 2021 @ 21:19:02
  Author: wild
Revision: 927293

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-03 21:18:56 UTC (rev 927292)
+++ PKGBUILD	2021-05-03 21:19:02 UTC (rev 927293)
@@ -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.24.1
-pkgrel=1
-pkgdesc="Developer package manager for D programming language"
-arch=('x86_64')
-url="https://github.com/dlang/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=('80a841741494d3e265b256b15fc5075a0a701278f456da549b1c33d981eb7bef504458c416be0201016db12693b3b2264e6d2d5f67cbe6490b83f51223fd6d27')
-
-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 927292, dub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-03 21:19:02 UTC (rev 927293)
@@ -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.25.0
+pkgrel=1
+pkgdesc="Developer package manager for D programming language"
+arch=('x86_64')
+url="https://github.com/dlang/dub"
+license=('MIT')
+groups=('dlang')
+makedepends=('ldc')
+depends=('curl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/dub/archive/v$pkgver.tar.gz")
+sha512sums=('9694d79933283c79ef9e272a52f141f49097d65d2e203b78443da2b6e10ed249fe4ce4614f8357d11fb1de0bddfd56ea8cd2dd2b243ec25231ee1f7db5538d8c')
+
+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