[arch-commits] Commit in dub/repos/community-x86_64 (PKGBUILD PKGBUILD)
Dan Printzell
wild at gemini.archlinux.org
Thu Aug 12 21:06:47 UTC 2021
Date: Thursday, August 12, 2021 @ 21:06:47
Author: wild
Revision: 997798
archrelease: copy trunk to community-x86_64
Added:
dub/repos/community-x86_64/PKGBUILD
(from rev 997797, dub/trunk/PKGBUILD)
Deleted:
dub/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-12 21:06:42 UTC (rev 997797)
+++ PKGBUILD 2021-08-12 21:06:47 UTC (rev 997798)
@@ -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.26.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=('0ca0fa2d286e7fe86a78fd8e3791e7603f299be85007d658d53653364c9ec93a1bbe5b6a231ce4ff0fa11b96bbb528d5c215a9c9ce09137269c562786bafd688')
-
-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 997797, dub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-12 21:06:47 UTC (rev 997798)
@@ -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.26.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=('curl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/dub/archive/v$pkgver.tar.gz")
+sha512sums=('4893720cef9b031ba0df9ac864b65b0650e86046bee7eea1dfdaf335f78e30409b90b61ed1fccac6f23e45853735f77ee02d7faeae09a36b9006b7ba4f7844b2')
+
+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