Date: Sunday, March 18, 2018 @ 20:21:35 Author: wild Revision: 309096
archrelease: copy trunk to community-x86_64 Added: dfmt/repos/community-x86_64/PKGBUILD (from rev 309095, dfmt/trunk/PKGBUILD) Deleted: dfmt/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 106 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-03-18 20:21:17 UTC (rev 309095) +++ PKGBUILD 2018-03-18 20:21:35 UTC (rev 309096) @@ -1,53 +0,0 @@ -# $Id$ -# Maintainer: Dan Printzell <a...@vild.io> - -pkgname=('dfmt') -pkgver=0.6.1 -pkgrel=1 -_pkgcommit=4725a622c6f4312d309f6cf857556cb07bad75b5 -pkgdesc="Dfmt is a formatter for D source code" -arch=('x86_64') -url="https://github.com/dlang-community/dfmt" -license=("custom") -groups=('dlang') -makedepends=('dmd' 'git') -depends=('libphobos') - -source=( - "git+https://github.com/dlang-community/dfmt#commit=$_pkgcommit" - "git+https://github.com/dlang-community/libdparse" - "git+https://github.com/sociomantic-tsunami/makd" - "git+https://github.com/sociomantic-tsunami/beaver" - "git+https://github.com/dlang-community/stdx-allocator" -) -sha256sums=( - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' -) - -prepare() { - cd "$srcdir/dfmt" - - git submodule init - git config submodule.libdparse.url "$srcdir/libdparse" - git config submodule.makd.url "$srcdir/makd" - git config submodule.beaver.url "$srcdir/beaver" - git config submodule.stdx-allocator.url "$srcdir/stdx-allocator" - git submodule update -} - -build() { - cd "$srcdir/dfmt" - make -} - -package() { - # binaries - install -Dm755 "$srcdir/dfmt/bin/dfmt" "$pkgdir/usr/bin/dfmt" - - # license - install -Dm644 "$srcdir/dfmt/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: dfmt/repos/community-x86_64/PKGBUILD (from rev 309095, dfmt/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-03-18 20:21:35 UTC (rev 309096) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Dan Printzell <a...@vild.io> + +pkgname=('dfmt') +pkgver=0.7.0 +pkgrel=1 +_pkgcommit=4168c232ab9b3698afc891a72767fc97c83345df +pkgdesc="Dfmt is a formatter for D source code" +arch=('x86_64') +url="https://github.com/dlang-community/dfmt" +license=("custom") +groups=('dlang') +makedepends=('dmd' 'git') +depends=('libphobos') + +source=( + "git+https://github.com/dlang-community/dfmt#commit=$_pkgcommit" + "git+https://github.com/dlang-community/libdparse" + "git+https://github.com/sociomantic-tsunami/makd" + "git+https://github.com/sociomantic-tsunami/beaver" + "git+https://github.com/dlang-community/stdx-allocator" +) +sha256sums=( + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' +) + +prepare() { + cd "$srcdir/dfmt" + + git submodule init + git config submodule.libdparse.url "$srcdir/libdparse" + git config submodule.makd.url "$srcdir/makd" + git config submodule.beaver.url "$srcdir/beaver" + git config submodule.stdx-allocator.url "$srcdir/stdx-allocator" + git submodule update +} + +build() { + cd "$srcdir/dfmt" + make +} + +package() { + # binaries + install -Dm755 "$srcdir/dfmt/bin/dfmt" "$pkgdir/usr/bin/dfmt" + + # license + install -Dm644 "$srcdir/dfmt/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}