Date: Tuesday, July 2, 2019 @ 15:40:19 Author: wild Revision: 487273 archrelease: copy trunk to community-x86_64
Added: dub/repos/community-x86_64/PKGBUILD (from rev 487272, dub/trunk/PKGBUILD) Deleted: dub/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-02 15:40:10 UTC (rev 487272) +++ PKGBUILD 2019-07-02 15:40:19 UTC (rev 487273) @@ -1,42 +0,0 @@ -# Maintainer: Dan Printzell <a...@vild.io> -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> -# Contributor: Mihails Strasuns <pub...@dicebot.lv> -# Contributor: Moritz Maxeiner <mor...@ucworks.org> - -pkgname=dub -pkgver=1.15.0 -pkgrel=1 -# Build date format is "mmm dd yyyy" -_builddate="May 09 2019" -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=('c29f2e7b0ef3337748d21cadd31b29e40202e76685becdc1e8f774cae2cc3509fcfc06a00164862d684529c05e66167e5fdb2a205e095aa48147a531f57cca3a') - -build() { - cd "$pkgname-$pkgver" - - sed -i "s/__DATE__/\"$_builddate\"/" source/dub/commandline.d - - 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 @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 completion - install -Dm644 "$pkgname-$pkgver/scripts/bash-completion/dub.bash" "$pkgdir/usr/share/bash-completion/completions/dub" -} Copied: dub/repos/community-x86_64/PKGBUILD (from rev 487272, dub/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-02 15:40:19 UTC (rev 487273) @@ -0,0 +1,42 @@ +# Maintainer: Dan Printzell <a...@vild.io> +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> +# Contributor: Mihails Strasuns <pub...@dicebot.lv> +# Contributor: Moritz Maxeiner <mor...@ucworks.org> + +pkgname=dub +pkgver=1.16.0 +pkgrel=1 +# Build date format is "mmm dd yyyy" +_builddate="Jul 02 2019" +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=('e088fcdb0930439606c7575183d96cc4d743109d0d513f3606ae1ac1df41d4862aff8bfd36be90228aed4c4fc2f46528cb7a650ec6f988f146b051a10ccce177') + +build() { + cd "$pkgname-$pkgver" + + sed -i "s/__DATE__/\"$_builddate\"/" source/dub/commandline.d + + 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 @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 completion + install -Dm644 "$pkgname-$pkgver/scripts/bash-completion/dub.bash" "$pkgdir/usr/share/bash-completion/completions/dub" +}