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

Dan Printzell wild at archlinux.org
Sat Jul 18 17:40:37 UTC 2020


    Date: Saturday, July 18, 2020 @ 17:40:36
  Author: wild
Revision: 664448

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-18 17:40:31 UTC (rev 664447)
+++ PKGBUILD	2020-07-18 17:40:36 UTC (rev 664448)
@@ -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.21.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=('liblphobos' 'curl')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/dub/archive/v$pkgver.tar.gz")
-sha512sums=('d85be6e35f51e34d34afce71fe902b8ef623c6f49ed6f5f755dded5bceda49416f9d625377136b928d0f95496e57999f0dd57a4cea796360edd34c72556debd7')
-
-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 664447, dub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-18 17:40:36 UTC (rev 664448)
@@ -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.22.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=('liblphobos' 'curl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/dub/archive/v$pkgver.tar.gz")
+sha512sums=('61f923916be1f16e8f77c228c53724e69e532573140674da902c374b63f3ca1f66b0da323a9c3a131f98af48e7755b5d3b70d33433fa0deb733215da2b4cd6b2')
+
+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