Date: Tuesday, February 7, 2023 @ 21:31:55 Author: wild Revision: 1396034
archrelease: copy trunk to community-x86_64 Added: dub/repos/community-x86_64/PKGBUILD (from rev 1396033, dub/trunk/PKGBUILD) Deleted: dub/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-02-07 21:31:49 UTC (rev 1396033) +++ PKGBUILD 2023-02-07 21:31:55 UTC (rev 1396034) @@ -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.30.0 -pkgrel=2 -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=('476d59bc56eedaff304a060b8dd798908f579b044f74a891c01ff7e1f13294c71e2ae97ef69a7a48cb96ef2171fd120366b190bd0cd53851a644d1da72f83445') - -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 1396033, dub/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-02-07 21:31:55 UTC (rev 1396034) @@ -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.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/ +}