Date: Saturday, March 16, 2019 @ 23:11:03 Author: wild Revision: 442258
archrelease: copy trunk to community-x86_64 Added: dub/repos/community-x86_64/PKGBUILD (from rev 442257, dub/trunk/PKGBUILD) Deleted: dub/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-16 23:10:52 UTC (rev 442257) +++ PKGBUILD 2019-03-16 23:11:03 UTC (rev 442258) @@ -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.13.0 -pkgrel=1 -# Build date format is "mmm dd yyyy" -_builddate="Jan 05 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=('9d9a3f22ef4ae28e117e2d14b6837a975b66316e99dad4de9c9def278a40e567d1f6d73f56381a49a4ddd2d96b86910eccb335171439701a282e4f1ce8630422') - -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 442257, dub/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-16 23:11:03 UTC (rev 442258) @@ -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.14.0 +pkgrel=1 +# Build date format is "mmm dd yyyy" +_builddate="Mar 17 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=('aa1ef282021c6d090b5f6b485904b3e207b0acd67b42dd169c817ee7e9af24a69055b3eb1e1bad3c61f37ac47ce63bc1cf590b5d5dfd838abbcfe054f192be49') + +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" +}