Date: Sunday, May 7, 2023 @ 20:45:43 Author: wild Revision: 1459437 archrelease: copy trunk to community-x86_64
Added: dfmt/repos/community-x86_64/PKGBUILD (from rev 1459436, dfmt/trunk/PKGBUILD) Deleted: dfmt/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 106 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-07 20:45:37 UTC (rev 1459436) +++ PKGBUILD 2023-05-07 20:45:43 UTC (rev 1459437) @@ -1,53 +0,0 @@ -# Maintainer: Dan Printzell <w...@archlinux.org> - -pkgname=('dfmt') -pkgver=0.14.2 -pkgrel=1 -_pkgcommit=6a24f0dc7c490f4cb06cdc9d21b841bee84615f4 -pkgdesc="Dfmt is a formatter for D source code" -arch=('x86_64') -url="https://github.com/dlang-community/dfmt" -license=("custom") -groups=('dlang') -makedepends=('ldc' 'git') -depends=('liblphobos') - -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 - - _extraFlags="-O5 -flto=full -linker=gold -link-defaultlib-shared=false -L=\"$LDFLAGS\"" - sed -i "/LDC_FLAGS \:=/ a override LDC_FLAGS += $_extraFlags" makefile -} - -build() { - cd "$srcdir/dfmt" - make ldc -} - -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 1459436, dfmt/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-07 20:45:43 UTC (rev 1459437) @@ -0,0 +1,53 @@ +# Maintainer: Dan Printzell <w...@archlinux.org> + +pkgname=('dfmt') +pkgver=0.15.0 +pkgrel=1 +_pkgcommit=49b9fe4051579bdcc7fc155bee6a43f3ab7174df +pkgdesc="Dfmt is a formatter for D source code" +arch=('x86_64') +url="https://github.com/dlang-community/dfmt" +license=("custom") +groups=('dlang') +makedepends=('ldc' 'git') +depends=('liblphobos') + +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 -c protocol.file.allow=always submodule update + + _extraFlags="-O5 -flto=full -linker=gold -link-defaultlib-shared=false -L=\"$LDFLAGS\"" + sed -i "/LDC_FLAGS \:=/ a override LDC_FLAGS += $_extraFlags" makefile +} + +build() { + cd "$srcdir/dfmt" + make ldc +} + +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" +}