[arch-commits] Commit in dtools/repos (4 files)
Михаил Страшун
dicebot at nymeria.archlinux.org
Sun Mar 2 20:53:36 UTC 2014
Date: Sunday, March 2, 2014 @ 21:53:35
Author: dicebot
Revision: 106415
archrelease: copy trunk to community-i686, community-x86_64
Added:
dtools/repos/community-i686/
dtools/repos/community-i686/PKGBUILD
(from rev 106414, dtools/trunk/PKGBUILD)
dtools/repos/community-x86_64/
dtools/repos/community-x86_64/PKGBUILD
(from rev 106414, dtools/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
Copied: dtools/repos/community-i686/PKGBUILD (from rev 106414, dtools/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-03-02 20:53:35 UTC (rev 106415)
@@ -0,0 +1,52 @@
+# Maintainer: Mihails Strasunse <public at dicebot.lv>
+
+pkgname=('dtools')
+pkgver=2.065.0
+pkgrel=3
+pkgdesc="Ancilliary tools for the D programming language compiler"
+license=("custom")
+groups=('dlang' 'dlang-dmd')
+arch=('i686' 'x86_64')
+url="http://www.dlang.org"
+depends=("curl")
+makedepends=('git' 'gcc' 'make' 'd-compiler')
+source=(
+ "git+http://github.com/D-Programming-Language/tools#tag=v$pkgver"
+ "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
+ "http://www.boost.org/LICENSE_1_0.txt"
+)
+sha1sums=(
+ 'SKIP'
+ 'SKIP'
+ '3cba29011be2b9d59f6204d6fa0a386b1b2dbd90'
+)
+
+build()
+{
+ DMD=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`
+
+ cd $srcdir/tools
+
+ # rdmd is used to build others
+ $DMD -od. -ofdtools-rdmd rdmd.d
+
+ for tool in DustMite/dustmite ddemangle catdoc detab tolf dget; do
+ ./dtools-rdmd --compiler=$DMD --build-only -od. -ofdtools-`basename $tool` $tool.d
+ done
+}
+
+package()
+{
+ cd $srcdir/tools
+
+ mkdir -p $pkgdir/usr/bin
+ for tool in rdmd ddemangle catdoc detab tolf dget dustmite; do
+ install -m755 -t $pkgdir/usr/bin $pkgname-$tool
+ done
+
+ cd $pkgdir
+ ln -s dtools-rdmd usr/bin/rdmd
+ ln -s dtools-dustmite usr/bin/dustmite
+
+ install -Dm644 $srcdir/LICENSE_1_0.txt usr/share/licenses/$pkgname/LICENSE
+}
Copied: dtools/repos/community-x86_64/PKGBUILD (from rev 106414, dtools/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-03-02 20:53:35 UTC (rev 106415)
@@ -0,0 +1,52 @@
+# Maintainer: Mihails Strasunse <public at dicebot.lv>
+
+pkgname=('dtools')
+pkgver=2.065.0
+pkgrel=3
+pkgdesc="Ancilliary tools for the D programming language compiler"
+license=("custom")
+groups=('dlang' 'dlang-dmd')
+arch=('i686' 'x86_64')
+url="http://www.dlang.org"
+depends=("curl")
+makedepends=('git' 'gcc' 'make' 'd-compiler')
+source=(
+ "git+http://github.com/D-Programming-Language/tools#tag=v$pkgver"
+ "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
+ "http://www.boost.org/LICENSE_1_0.txt"
+)
+sha1sums=(
+ 'SKIP'
+ 'SKIP'
+ '3cba29011be2b9d59f6204d6fa0a386b1b2dbd90'
+)
+
+build()
+{
+ DMD=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`
+
+ cd $srcdir/tools
+
+ # rdmd is used to build others
+ $DMD -od. -ofdtools-rdmd rdmd.d
+
+ for tool in DustMite/dustmite ddemangle catdoc detab tolf dget; do
+ ./dtools-rdmd --compiler=$DMD --build-only -od. -ofdtools-`basename $tool` $tool.d
+ done
+}
+
+package()
+{
+ cd $srcdir/tools
+
+ mkdir -p $pkgdir/usr/bin
+ for tool in rdmd ddemangle catdoc detab tolf dget dustmite; do
+ install -m755 -t $pkgdir/usr/bin $pkgname-$tool
+ done
+
+ cd $pkgdir
+ ln -s dtools-rdmd usr/bin/rdmd
+ ln -s dtools-dustmite usr/bin/dustmite
+
+ install -Dm644 $srcdir/LICENSE_1_0.txt usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list