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

Dan Printzell wild at archlinux.org
Sun Sep 10 20:08:42 UTC 2017


    Date: Sunday, September 10, 2017 @ 20:08:41
  Author: wild
Revision: 256813

archrelease: copy trunk to community-x86_64

Added:
  dscanner/repos/community-x86_64/
  dscanner/repos/community-x86_64/PKGBUILD
    (from rev 256812, dscanner/trunk/PKGBUILD)

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

Copied: dscanner/repos/community-x86_64/PKGBUILD (from rev 256812, dscanner/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-09-10 20:08:41 UTC (rev 256813)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Dan Printzell <arch at vild.io>
+
+pkgname=('dscanner')
+pkgver=0.4.0
+pkgrel=3
+_pkgcommit=87e42ae1941aeda81cc8e6c4343ab3c8d77036cd
+pkgdesc="Swiss-army knife for D source code"
+arch=('i686' 'x86_64')
+url="https://github.com/dlang-community/D-Scanner"
+license=("custom")
+groups=('dlang')
+makedepends=('dmd' 'git')
+depends=('libphobos')
+
+source=(
+	"git+https://github.com/dlang-community/D-Scanner#commit=$_pkgcommit"
+	"git+https://github.com/dlang-community/libdparse"
+	"git+https://github.com/burner/inifiled"
+	"git+https://github.com/economicmodeling/containers"
+	"git+https://github.com/dlang-community/dsymbol"
+	"git+https://github.com/economicmodeling/libddoc"
+)
+sha256sums=(
+	'SKIP'
+	'SKIP'
+	'SKIP'
+	'SKIP'
+	'SKIP'
+	'SKIP'
+)
+
+prepare() {
+	cd "$srcdir/D-Scanner"
+
+	git submodule init
+	git config submodule.libdparse.url "$srcdir/libdparse"
+	git config submodule.inifiled.url "$srcdir/inifiled"
+	git config submodule.containers.url "$srcdir/containers"
+	git config submodule.dsymbol.url "$srcdir/dsymbol"
+	git config submodule.libddoc.url "$srcdir/libddoc"
+	git submodule update
+}
+
+build() {
+	cd "$srcdir/D-Scanner"
+	make
+}
+
+package() {
+	# binaries
+	install -Dm755 "$srcdir/D-Scanner/bin/dscanner" "$pkgdir/usr/bin/dscanner"
+
+	# license
+	install -Dm644 "$srcdir/D-Scanner/LICENSE_1_0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list