[arch-commits] Commit in dub/repos/community-x86_64 (PKGBUILD PKGBUILD)
Dan Printzell
wild at archlinux.org
Thu Mar 19 19:20:12 UTC 2020
Date: Thursday, March 19, 2020 @ 19:20:11
Author: wild
Revision: 601114
archrelease: copy trunk to community-x86_64
Added:
dub/repos/community-x86_64/PKGBUILD
(from rev 601113, dub/trunk/PKGBUILD)
Deleted:
dub/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-19 19:19:54 UTC (rev 601113)
+++ PKGBUILD 2020-03-19 19:20:11 UTC (rev 601114)
@@ -1,39 +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.19.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=('65e31f967939914790e65515fc460510336857aa6273db1a8e75681bf1182d25019f70ca050aa221679e9ccdd10edd3757f1629cd0686af6b584c8439057edc8')
-
-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 and fish 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/completions/dub.fish"
-}
Copied: dub/repos/community-x86_64/PKGBUILD (from rev 601113, dub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-19 19:20:11 UTC (rev 601114)
@@ -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.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"
+}
More information about the arch-commits
mailing list