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

Felix Yan felixonmars at archlinux.org
Wed Dec 25 23:59:22 UTC 2019


    Date: Wednesday, December 25, 2019 @ 23:59:22
  Author: felixonmars
Revision: 541520

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-25 23:59:09 UTC (rev 541519)
+++ PKGBUILD	2019-12-25 23:59:22 UTC (rev 541520)
@@ -1,55 +0,0 @@
-# Maintainer: Dan Printzell <arch at vild.io>
-
-pkgname=('dfmt')
-pkgver=0.10.1
-pkgrel=3
-_pkgcommit=436d157b4f5b9ab047e2207988e2416fa0b21a88
-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 541519, dfmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-25 23:59:22 UTC (rev 541520)
@@ -0,0 +1,53 @@
+# Maintainer: Dan Printzell <arch at vild.io>
+
+pkgname=('dfmt')
+pkgver=0.11.0
+pkgrel=1
+_pkgcommit=436d157b4f5b9ab047e2207988e2416fa0b21a88
+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"
+}



More information about the arch-commits mailing list