[arch-commits] Commit in gdc/trunk (PKGBUILD)
Михаил Страшун
dicebot at nymeria.archlinux.org
Mon Mar 3 00:09:46 UTC 2014
Date: Monday, March 3, 2014 @ 01:09:46
Author: dicebot
Revision: 106424
upgpkg: gdc 4.8.2-7
gdc: release flags + reverse stdlib dependency
Modified:
gdc/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++++++----------------
1 file changed, 25 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-02 22:29:17 UTC (rev 106423)
+++ PKGBUILD 2014-03-03 00:09:46 UTC (rev 106424)
@@ -5,7 +5,7 @@
pkgname=('gdc' 'libgphobos-devel')
pkgver=4.8.2
-pkgrel=5
+pkgrel=7
arch=('i686' 'x86_64')
url="https://github.com/D-Programming-GDC/GDC"
license=('GPL')
@@ -12,12 +12,18 @@
makedepends=('binutils>=2.23' 'git' 'gcc' 'make' 'perl' 'cloog' 'automake')
options=('!emptydirs' '!buildflags')
_snapshot=4.8-20130725
-source=(ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
- gdc::git://github.com/D-Programming-GDC/GDC.git#branch=gdc-4.8
- folders.diff)
-sha256sums=('e4e2202b15f8ba323f88c65de0e4190b0630a4b2e70b0653526b31e946877ead'
- 'SKIP'
- '82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4')
+source=(
+ "ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2"
+ "gdc::git://github.com/D-Programming-GDC/GDC.git#branch=gdc-4.8"
+ "git+https://github.com/D-Programming-GDC/GDMD.git"
+ "folders.diff"
+)
+sha256sums=(
+ 'e4e2202b15f8ba323f88c65de0e4190b0630a4b2e70b0653526b31e946877ead'
+ 'SKIP'
+ 'SKIP'
+ '82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4'
+)
groups=('dlang' 'dlang-gdc')
conflicts=('gdc1-bin' 'gdc1-hg' 'gdc-git')
@@ -54,15 +60,16 @@
--enable-shared --enable-threads=posix \
--with-system-zlib --enable-__cxa_atexit \
--disable-libunwind-exceptions --enable-clocale=gnu \
- --disable-libstdcxx-pch \
+ --disable-libstdcxx-pch --disable-libssp \
--enable-gnu-unique-object --enable-linker-build-id \
--enable-cloog-backend=isl --disable-cloog-version-check \
- --enable-lto --enable-gold --enable-ld=default \
- --enable-plugin --with-plugin-ld=ld.gold \
- --with-linker-hash-style=gnu --disable-install-libiberty \
- --disable-multilib --disable-libssp --disable-werror \
+ --enable-lto --enable-gold --enable-plugin --enable-ld=default \
+ --enable-install-libiberty --with-plugin-ld=ld.gold \
+ --with-linker-hash-style=gnu \
+ --disable-multilib --disable-werror \
--disable-nls --disable-bootstrap \
- --disable-libgomp --disable-libmudflap --disable-libquadmath
+ --disable-libgomp --disable-libmudflap --disable-libquadmath \
+ --enable-checking=release
make
}
@@ -69,13 +76,16 @@
package_gdc()
{
- depends=('gcc' 'binutils')
- optdepends=('libgphobos-devel: D standard library, GDC version')
+ depends=('gcc' 'perl' 'binutils' 'libgphobos-devel')
provides=("d-compiler")
pkgdesc="Compiler for D programming language which uses gcc backend (2.064.2 frontend version)"
install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
install -D -m755 $srcdir/gcc-build/gcc/cc1d $pkgdir/usr/lib/gcc/$CHOST/$pkgver/cc1d
+
+ # tools
+ install -D -m755 $srcdir/GDMD/dmd-script $pkgdir/usr/bin/gdmd
+ install -D -m644 $srcdir/GDMD/dmd-script.1 $pkgdir/usr/share/man/man1/gdmd.1
}
package_libgphobos-devel()
@@ -83,7 +93,6 @@
pkgdesc="Standard library for D programming language, GDC port"
provides=("d-runtime" "d-stdlib")
options=("staticlibs")
- depends=('gdc')
# druntime
install -D $srcdir/gdc/libphobos/libdruntime/object.di $pkgdir/usr/include/dlang/gdc/object.di
More information about the arch-commits
mailing list