[arch-commits] Commit in dmd/trunk (PKGBUILD dmd.conf)
Mihails Strasuns
dicebot at archlinux.org
Sun Jan 1 00:42:40 UTC 2017
Date: Sunday, January 1, 2017 @ 00:42:39
Author: dicebot
Revision: 203440
upgpkg: dmd 1:2.072.2-1
DMD 2.072.2 with -fPIC enabled by default
Added:
dmd/trunk/dmd.conf
Modified:
dmd/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
dmd.conf | 5 +++++
2 files changed, 13 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-01 00:40:28 UTC (rev 203439)
+++ PKGBUILD 2017-01-01 00:42:39 UTC (rev 203440)
@@ -9,7 +9,7 @@
pkgdesc="D programming language compiler and standard library"
groups=('dlang' 'dlang-dmd')
pkgbase=dmd
-pkgver=2.072.1
+pkgver=2.072.2
pkgrel=1
epoch=1
arch=('i686' 'x86_64')
@@ -17,10 +17,12 @@
makedepends=('git' 'gcc' 'make' 'dmd' 'libphobos-devel')
source=("git+http://github.com/D-Programming-Language/dmd.git#tag=v$pkgver"
"git+http://github.com/D-Programming-Language/druntime.git#tag=v$pkgver"
- "git+http://github.com/D-Programming-Language/phobos.git#tag=v$pkgver")
-sha1sums=('SKIP'
- 'SKIP'
- 'SKIP')
+ "git+http://github.com/D-Programming-Language/phobos.git#tag=v$pkgver"
+ "dmd.conf")
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ '3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035')
[[ $CARCH == "x86_64" ]] && _archbits="64"
[[ $CARCH == "i686" ]] && _archbits="32"
@@ -48,12 +50,11 @@
)
provides=("d-compiler=$pkgver")
license=('custom')
- backup=('etc/dmd.conf')
install -Dm755 $srcdir/dmd/src/dmd $pkgdir/usr/bin/dmd
mkdir -p $pkgdir/etc
- echo -e "[Environment]\nDFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib -L-L/usr/lib32 -L--export-dynamic" > $pkgdir/etc/dmd.conf
+ install -Dm644 $srcdir/dmd.conf $pkgdir/etc/dmd.conf
mkdir -p $pkgdir/usr/share/man/man1
mkdir -p $pkgdir/usr/share/man/man5
Added: dmd.conf
===================================================================
--- dmd.conf (rev 0)
+++ dmd.conf 2017-01-01 00:42:39 UTC (rev 203440)
@@ -0,0 +1,5 @@
+[Environment32]
+DFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib32 -L--export-dynamic -fPIC
+
+[Environment64]
+DFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib -L--export-dynamic -fPIC
More information about the arch-commits
mailing list