Date: Tuesday, February 21, 2023 @ 22:08:09 Author: wild Revision: 1403341
archrelease: copy trunk to community-x86_64 Added: dub/repos/community-x86_64/PKGBUILD (from rev 1403340, dub/trunk/PKGBUILD) Deleted: dub/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-02-21 22:08:03 UTC (rev 1403340) +++ PKGBUILD 2023-02-21 22:08:09 UTC (rev 1403341) @@ -1,43 +0,0 @@ -# Maintainer: Dan Printzell <w...@archlinux.org> -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> -# Contributor: Mihails Strasuns <pub...@dicebot.lv> -# Contributor: Moritz Maxeiner <mor...@ucworks.org> - -pkgname=dub -pkgver=1.31.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=('e55bf26e7cb7bcc34f097f5d0f6b753a7eb06b0c93dd844bca3016f072aa09961b8efcb9127434dbf2c865f6e54869acd5378b4c8e8ada9591d7ea2f26425436') - -build() { - cd "$pkgname-$pkgver" - - GITVER=$pkgver DMD=ldmd2 ldmd2 -run build.d -release -O3 -linker=gold --flto=thin -link-defaultlib-shared=false -L--build-id - - # Build man pages - bin/dub --single scripts/man/gen_man.d -} - -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" - - # man pages - mkdir -p "$pkgdir"/usr/share/man/man1 - cp "$pkgname-$pkgver"/scripts/man/*.1 "$pkgdir"/usr/share/man/man1/ -} Copied: dub/repos/community-x86_64/PKGBUILD (from rev 1403340, dub/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-02-21 22:08:09 UTC (rev 1403341) @@ -0,0 +1,43 @@ +# Maintainer: Dan Printzell <w...@archlinux.org> +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> +# Contributor: Mihails Strasuns <pub...@dicebot.lv> +# Contributor: Moritz Maxeiner <mor...@ucworks.org> + +pkgname=dub +pkgver=1.31.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=('42a22ff6c1a367b6923ecd8ba2c73539993fb6d92d19628e477dfbaef8a2bfada375658f66a638ba2d050dd83312f4addca9aaba7132bc80ed5cd88f2dd74f60') + +build() { + cd "$pkgname-$pkgver" + + GITVER=$pkgver DMD=ldmd2 ldmd2 -run build.d -release -O3 -linker=gold --flto=thin -link-defaultlib-shared=false -L--build-id + + # Build man pages + bin/dub --single scripts/man/gen_man.d +} + +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" + + # man pages + mkdir -p "$pkgdir"/usr/share/man/man1 + cp "$pkgname-$pkgver"/scripts/man/*.1 "$pkgdir"/usr/share/man/man1/ +}