Date: Sunday, September 10, 2017 @ 20:14:42 Author: wild Revision: 256815
archrelease: copy trunk to community-x86_64 Added: dfmt/repos/community-x86_64/PKGBUILD (from rev 256814, dfmt/trunk/PKGBUILD) Deleted: dfmt/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-09-10 20:14:21 UTC (rev 256814) +++ PKGBUILD 2017-09-10 20:14:42 UTC (rev 256815) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Dan Printzell <a...@vild.io> - -pkgname=('dfmt') -pkgver=0.5.0 -pkgrel=4 -_pkgcommit=fef85e388a41add75020675ab33ed7e55c3efe85 -pkgdesc="Dfmt is a formatter for D source code " -arch=('i686' 'x86_64') -url="https://github.com/dlang-community/dfmt" -license=("BSL") -groups=('dlang') -makedepends=('dmd' 'git') -depends=('libphobos') - -source=( - "git+https://github.com/dlang-community/dfmt#commit=$_pkgcommit" - "git+https://github.com/dlang-community/libdparse" -) -sha256sums=( - 'SKIP' - 'SKIP' -) - -prepare() { - cd "$srcdir/dfmt" - - git submodule init - git config submodule.libdparse.url "$srcdir/libdparse" - 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 256814, dfmt/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-09-10 20:14:42 UTC (rev 256815) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Dan Printzell <a...@vild.io> + +pkgname=('dfmt') +pkgver=0.5.0 +pkgrel=4 +_pkgcommit=fef85e388a41add75020675ab33ed7e55c3efe85 +pkgdesc="Dfmt is a formatter for D source code" +arch=('i686' '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" +) +sha256sums=( + 'SKIP' + 'SKIP' +) + +prepare() { + cd "$srcdir/dfmt" + + git submodule init + git config submodule.libdparse.url "$srcdir/libdparse" + 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" +}