[arch-commits] Commit in dfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-02-20 Thread Dan Printzell via arch-commits
Date: Sunday, February 20, 2022 @ 12:39:08
  Author: wild
Revision: 1135265

archrelease: copy trunk to community-x86_64

Added:
  dfmt/repos/community-x86_64/PKGBUILD
(from rev 1135264, dfmt/trunk/PKGBUILD)
Deleted:
  dfmt/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  106 ++---
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-20 12:39:03 UTC (rev 1135264)
+++ PKGBUILD2022-02-20 12:39:08 UTC (rev 1135265)
@@ -1,53 +0,0 @@
-# Maintainer: Dan Printzell 
-
-pkgname=('dfmt')
-pkgver=0.14.1
-pkgrel=2
-_pkgcommit=b776d5a9b96df283ab93b19a9bc689d633bdcb83
-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 1135264, 
dfmt/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-20 12:39:08 UTC (rev 1135265)
@@ -0,0 +1,53 @@
+# Maintainer: Dan Printzell 
+
+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"
+}



[arch-commits] Commit in dfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-01-22 Thread Dan Printzell via arch-commits
Date: Sunday, January 23, 2022 @ 01:00:28
  Author: wild
Revision: 1113519

archrelease: copy trunk to community-x86_64

Added:
  dfmt/repos/community-x86_64/PKGBUILD
(from rev 1113518, dfmt/trunk/PKGBUILD)
Deleted:
  dfmt/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  106 ++---
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-23 01:00:23 UTC (rev 1113518)
+++ PKGBUILD2022-01-23 01:00:28 UTC (rev 1113519)
@@ -1,53 +0,0 @@
-# Maintainer: Dan Printzell 
-
-pkgname=('dfmt')
-pkgver=0.14.1
-pkgrel=1
-_pkgcommit=b776d5a9b96df283ab93b19a9bc689d633bdcb83
-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 1113518, 
dfmt/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-23 01:00:28 UTC (rev 1113519)
@@ -0,0 +1,53 @@
+# Maintainer: Dan Printzell 
+
+pkgname=('dfmt')
+pkgver=0.14.1
+pkgrel=2
+_pkgcommit=b776d5a9b96df283ab93b19a9bc689d633bdcb83
+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"
+}



[arch-commits] Commit in dfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-10-31 Thread Dan Printzell via arch-commits
Date: Sunday, October 31, 2021 @ 13:55:59
  Author: wild
Revision: 1035060

archrelease: copy trunk to community-x86_64

Added:
  dfmt/repos/community-x86_64/PKGBUILD
(from rev 1035059, dfmt/trunk/PKGBUILD)
Deleted:
  dfmt/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  106 ++---
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-31 13:55:54 UTC (rev 1035059)
+++ PKGBUILD2021-10-31 13:55:59 UTC (rev 1035060)
@@ -1,53 +0,0 @@
-# Maintainer: Dan Printzell 
-
-pkgname=('dfmt')
-pkgver=0.13.4
-pkgrel=1
-_pkgcommit=e79ba9f0c89ee39f32780c5a2fcd2294b1040190
-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 1035059, 
dfmt/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-10-31 13:55:59 UTC (rev 1035060)
@@ -0,0 +1,53 @@
+# Maintainer: Dan Printzell 
+
+pkgname=('dfmt')
+pkgver=0.14.1
+pkgrel=1
+_pkgcommit=b776d5a9b96df283ab93b19a9bc689d633bdcb83
+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"
+}



[arch-commits] Commit in dfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-04-10 Thread Dan Printzell via arch-commits
Date: Saturday, April 10, 2021 @ 19:29:49
  Author: wild
Revision: 915610

archrelease: copy trunk to community-x86_64

Added:
  dfmt/repos/community-x86_64/PKGBUILD
(from rev 915609, dfmt/trunk/PKGBUILD)
Deleted:
  dfmt/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  106 ++---
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-10 19:29:44 UTC (rev 915609)
+++ PKGBUILD2021-04-10 19:29:49 UTC (rev 915610)
@@ -1,53 +0,0 @@
-# Maintainer: Dan Printzell 
-
-pkgname=('dfmt')
-pkgver=0.13.3
-pkgrel=1
-_pkgcommit=3479e737076a156518e4d32575029161151c0c8f
-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 915609, 
dfmt/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-04-10 19:29:49 UTC (rev 915610)
@@ -0,0 +1,53 @@
+# Maintainer: Dan Printzell 
+
+pkgname=('dfmt')
+pkgver=0.13.4
+pkgrel=1
+_pkgcommit=e79ba9f0c89ee39f32780c5a2fcd2294b1040190
+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"
+}


[arch-commits] Commit in dfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-03-28 Thread Dan Printzell via arch-commits
Date: Sunday, March 28, 2021 @ 14:06:00
  Author: wild
Revision: 906870

archrelease: copy trunk to community-x86_64

Added:
  dfmt/repos/community-x86_64/PKGBUILD
(from rev 906869, dfmt/trunk/PKGBUILD)
Deleted:
  dfmt/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  106 ++---
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-28 14:05:55 UTC (rev 906869)
+++ PKGBUILD2021-03-28 14:06:00 UTC (rev 906870)
@@ -1,53 +0,0 @@
-# Maintainer: Dan Printzell 
-
-pkgname=('dfmt')
-pkgver=0.13.2
-pkgrel=2
-_pkgcommit=7659b1ae1aaaeda6b787ec60a2ed1e902326d5a0
-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 906869, 
dfmt/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-28 14:06:00 UTC (rev 906870)
@@ -0,0 +1,53 @@
+# Maintainer: Dan Printzell 
+
+pkgname=('dfmt')
+pkgver=0.13.3
+pkgrel=1
+_pkgcommit=3479e737076a156518e4d32575029161151c0c8f
+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"
+}