Date: Friday, June 15, 2018 @ 19:41:06 Author: wild Revision: 343335 archrelease: copy trunk to community-x86_64
Added: dscanner/repos/community-x86_64/PKGBUILD (from rev 343334, dscanner/trunk/PKGBUILD) Deleted: dscanner/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 124 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-06-15 19:40:59 UTC (rev 343334) +++ PKGBUILD 2018-06-15 19:41:06 UTC (rev 343335) @@ -1,62 +0,0 @@ -# $Id$ -# Maintainer: Dan Printzell <a...@vild.io> - -pkgname=('dscanner') -pkgver=0.5.6 -pkgrel=1 -_pkgcommit=4b394c2a7d1a01a7279faadcbf9443e4c76dec96 -pkgdesc="Swiss-army knife for D source code" -arch=('x86_64') -url="https://github.com/dlang-community/D-Scanner" -license=("custom") -groups=('dlang') -makedepends=('ldc' 'git') -depends=('liblphobos') - -source=( - "git+https://github.com/dlang-community/D-Scanner#commit=$_pkgcommit" - "git+https://github.com/dlang-community/libdparse" - "git+https://github.com/burner/inifiled" - "git+https://github.com/economicmodeling/containers" - "git+https://github.com/dlang-community/dsymbol" - "git+https://github.com/economicmodeling/libddoc" - "git+https://github.com/dlang-community/stdx-allocator" -) -sha256sums=( - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' -) - -prepare() { - cd "$srcdir/D-Scanner" - - git submodule init - git config submodule.libdparse.url "$srcdir/libdparse" - git config submodule.inifiled.url "$srcdir/inifiled" - git config submodule.containers.url "$srcdir/containers" - git config submodule.dsymbol.url "$srcdir/dsymbol" - git config submodule.libddoc.url "$srcdir/libddoc" - git config submodule.stdx-allocator.url "$srcdir/stdx-allocator" - git submodule update - - # Only LDC have -O5 - sed -i "s/-O5/-O5 -flto=full -linker=gold -link-defaultlib-shared=false/g" makefile -} - -build() { - cd "$srcdir/D-Scanner" - make ldc -} - -package() { - # binaries - install -Dm755 "$srcdir/D-Scanner/bin/dscanner" "$pkgdir/usr/bin/dscanner" - - # license - install -Dm644 "$srcdir/D-Scanner/LICENSE_1_0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: dscanner/repos/community-x86_64/PKGBUILD (from rev 343334, dscanner/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-06-15 19:41:06 UTC (rev 343335) @@ -0,0 +1,62 @@ +# $Id$ +# Maintainer: Dan Printzell <a...@vild.io> + +pkgname=('dscanner') +pkgver=0.5.7 +pkgrel=1 +_pkgcommit=76d8a30d2307d5d4e9c1a3972808752199449694 +pkgdesc="Swiss-army knife for D source code" +arch=('x86_64') +url="https://github.com/dlang-community/D-Scanner" +license=("custom") +groups=('dlang') +makedepends=('ldc' 'git') +depends=('liblphobos') + +source=( + "git+https://github.com/dlang-community/D-Scanner#commit=$_pkgcommit" + "git+https://github.com/dlang-community/libdparse" + "git+https://github.com/burner/inifiled" + "git+https://github.com/economicmodeling/containers" + "git+https://github.com/dlang-community/dsymbol" + "git+https://github.com/economicmodeling/libddoc" + "git+https://github.com/dlang-community/stdx-allocator" +) +sha256sums=( + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' +) + +prepare() { + cd "$srcdir/D-Scanner" + + git submodule init + git config submodule.libdparse.url "$srcdir/libdparse" + git config submodule.inifiled.url "$srcdir/inifiled" + git config submodule.containers.url "$srcdir/containers" + git config submodule.dsymbol.url "$srcdir/dsymbol" + git config submodule.libddoc.url "$srcdir/libddoc" + git config submodule.stdx-allocator.url "$srcdir/stdx-allocator" + git submodule update + + # Only LDC have -O5 + sed -i "s/-O5/-O5 -flto=full -linker=gold -link-defaultlib-shared=false/g" makefile +} + +build() { + cd "$srcdir/D-Scanner" + make ldc +} + +package() { + # binaries + install -Dm755 "$srcdir/D-Scanner/bin/dscanner" "$pkgdir/usr/bin/dscanner" + + # license + install -Dm644 "$srcdir/D-Scanner/LICENSE_1_0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}