Date: Wednesday, July 19, 2017 @ 17:07:43 Author: arojas Revision: 245701
archrelease: copy trunk to community-x86_64 Added: dmd/repos/community-x86_64/PKGBUILD (from rev 245700, dmd/trunk/PKGBUILD) dmd/repos/community-x86_64/dmd.conf (from rev 245700, dmd/trunk/dmd.conf) Deleted: dmd/repos/community-x86_64/PKGBUILD dmd/repos/community-x86_64/dmd.conf ----------+ PKGBUILD | 196 +++++++++++++++++++++++++++++-------------------------------- dmd.conf | 10 +-- 2 files changed, 101 insertions(+), 105 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-07-19 17:07:16 UTC (rev 245700) +++ PKGBUILD 2017-07-19 17:07:43 UTC (rev 245701) @@ -1,100 +0,0 @@ -# Maintainer: Mihails Strasunse <pub...@dicebot.lv> -# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Chris Brannon <cmbranno...@gmail.com> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Anders Bergh <ande...@gmail.com> -# Contributor: Alexander Fehr <pizzapunk gmail com> - -pkgname=('dmd' 'libphobos-devel' 'libphobos') -pkgdesc="D programming language compiler and standard library" -groups=('dlang' 'dlang-dmd') -pkgbase=dmd -pkgver=2.074.0 -pkgrel=1 -epoch=1 -arch=('i686' 'x86_64') -url="http://www.dlang.org" -makedepends=('git' 'gcc' 'make' 'dmd' 'libphobos-devel') -source=("git+https://github.com/D-Programming-Language/dmd.git#tag=v$pkgver" - "git+https://github.com/D-Programming-Language/druntime.git#tag=v$pkgver" - "git+https://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" - -build() { - cd $srcdir/dmd/src - echo $pkgver > ../VERSION - make -f posix.mak MODEL=$_archbits RELEASE=1 - - cd $srcdir/druntime - make -f posix.mak MODEL=$_archbits DMD=$srcdir/dmd/src/dmd RELEASE=1 - - cd $srcdir/phobos - make -f posix.mak MODEL=$_archbits DMD=$srcdir/dmd/src/dmd RELEASE=1 -} - -package_dmd() { - pkgdesc="The D programming language reference compiler" - backup=('etc/dmd.conf') - depends=('gcc' 'libphobos-devel') - optdepends=( - 'dtools: collection of useful utilities for development in D' - 'libphobos: standard D library, Phobos; shared library' - 'gcc-multilib: to cross-compile 32-bit applications' - ) - provides=("d-compiler=$pkgver") - license=('custom') - - install -Dm755 $srcdir/dmd/src/dmd $pkgdir/usr/bin/dmd - - mkdir -p $pkgdir/etc - install -Dm644 $srcdir/dmd.conf $pkgdir/etc/dmd.conf - - mkdir -p $pkgdir/usr/share/man/man1 - mkdir -p $pkgdir/usr/share/man/man5 - cp -r $srcdir/dmd/docs/man/man1/* $pkgdir/usr/share/man/man1/ - cp -r $srcdir/dmd/docs/man/man5/* $pkgdir/usr/share/man/man5/ - - install -Dm644 $srcdir/dmd/src/ddmd/backendlicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-backend - install -Dm644 $srcdir/dmd/src/ddmd/boostlicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend - - mkdir -p $pkgdir/usr/share/d/samples/ - cp -r $srcdir/dmd/samples/* $pkgdir/usr/share/d/samples/ - - find $pkgdir/usr -type f | xargs chmod 0644 - chmod 755 $pkgdir/usr/bin/* -} - -package_libphobos-devel() { - pkgdesc="The Phobos standard library for D programming language. Modules and static library." - options=("staticlibs") - provides=("d-runtime=$pkgver" "d-stdlib=$pkgver") - license=("custom") - - install -Dm644 $srcdir/phobos/generated/linux/release/$_archbits/libphobos2.a $pkgdir/usr/lib/libphobos2.a - install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE - - mkdir -p $pkgdir/usr/include/dlang/dmd - cp -r $srcdir/phobos/{*.d,etc,std} $pkgdir/usr/include/dlang/dmd - cp -r $srcdir/druntime/import/* $pkgdir/usr/include/dlang/dmd/ - - find $pkgdir/usr -type f | xargs chmod 0644 - - install -Dm644 $srcdir/druntime/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE-druntime - install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-phobos -} - -package_libphobos() { - pkgdesc="The Phobos standard library for D programming language." - depends=("curl") - license=("custom") - - install -Dm644 $srcdir/phobos/generated/linux/release/$_archbits/libphobos2.so $pkgdir/usr/lib/libphobos2.so - install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE -} Copied: dmd/repos/community-x86_64/PKGBUILD (from rev 245700, dmd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-07-19 17:07:43 UTC (rev 245701) @@ -0,0 +1,96 @@ +# Maintainer: Mihails Strasunse <pub...@dicebot.lv> +# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Chris Brannon <cmbranno...@gmail.com> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Anders Bergh <ande...@gmail.com> +# Contributor: Alexander Fehr <pizzapunk gmail com> + +pkgname=('dmd' 'libphobos-devel' 'libphobos') +pkgdesc="D programming language compiler and standard library" +groups=('dlang' 'dlang-dmd') +pkgbase=dmd +pkgver=2.075.0 +pkgrel=1 +epoch=1 +arch=('x86_64') +url="http://www.dlang.org" +makedepends=('git' 'dmd' 'libphobos-devel') +source=("git+https://github.com/D-Programming-Language/dmd.git#tag=v$pkgver" + "git+https://github.com/D-Programming-Language/druntime.git#tag=v$pkgver" + "git+https://github.com/D-Programming-Language/phobos.git#tag=v$pkgver" + "dmd.conf") +sha256sums=('SKIP' + 'SKIP' + 'SKIP' + '3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035') + +build() { + cd $srcdir/dmd/src + echo $pkgver > ../VERSION + make -f posix.mak AUTO_BOOTSTRAP=1 RELEASE=1 PIC=1 + + cd $srcdir/druntime + make -f posix.mak DMD="$srcdir"/dmd/src/dmd RELEASE=1 PIC=1 + + cd $srcdir/phobos + make -f posix.mak DMD="$srcdir"/dmd/src/dmd RELEASE=1 PIC=1 +} + +package_dmd() { + pkgdesc="The D programming language reference compiler" + backup=('etc/dmd.conf') + depends=('gcc' 'libphobos-devel') + optdepends=( + 'dtools: collection of useful utilities for development in D' + 'libphobos: standard D library, Phobos; shared library' + 'gcc-multilib: to cross-compile 32-bit applications' + ) + provides=("d-compiler=$pkgver") + license=('custom') + + install -Dm755 $srcdir/dmd/src/dmd $pkgdir/usr/bin/dmd + + mkdir -p $pkgdir/etc + install -Dm644 $srcdir/dmd.conf $pkgdir/etc/dmd.conf + + mkdir -p $pkgdir/usr/share/man/man1 + mkdir -p $pkgdir/usr/share/man/man5 + cp -r $srcdir/dmd/docs/man/man1/* $pkgdir/usr/share/man/man1/ + cp -r $srcdir/dmd/docs/man/man5/* $pkgdir/usr/share/man/man5/ + + install -Dm644 $srcdir/dmd/src/ddmd/backend/backend.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-backend + install -Dm644 $srcdir/dmd/src/ddmd/boostlicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend + + mkdir -p $pkgdir/usr/share/d/samples/ + cp -r $srcdir/dmd/samples/* $pkgdir/usr/share/d/samples/ + + find $pkgdir/usr -type f | xargs chmod 0644 + chmod 755 $pkgdir/usr/bin/* +} + +package_libphobos-devel() { + pkgdesc="The Phobos standard library for D programming language. Modules and static library." + options=("staticlibs") + provides=("d-runtime=$pkgver" "d-stdlib=$pkgver") + license=("custom") + + install -Dm644 $srcdir/phobos/generated/linux/release/$_archbits/libphobos2.a $pkgdir/usr/lib/libphobos2.a + install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE + + mkdir -p $pkgdir/usr/include/dlang/dmd + cp -r $srcdir/phobos/{*.d,etc,std} $pkgdir/usr/include/dlang/dmd + cp -r $srcdir/druntime/import/* $pkgdir/usr/include/dlang/dmd/ + + find $pkgdir/usr -type f | xargs chmod 0644 + + install -Dm644 $srcdir/druntime/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE-druntime + install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-phobos +} + +package_libphobos() { + pkgdesc="The Phobos standard library for D programming language." + license=("custom") + + install -Dm644 $srcdir/phobos/generated/linux/release/$_archbits/libphobos2.so $pkgdir/usr/lib/libphobos2.so + install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} Deleted: dmd.conf =================================================================== --- dmd.conf 2017-07-19 17:07:16 UTC (rev 245700) +++ dmd.conf 2017-07-19 17:07:43 UTC (rev 245701) @@ -1,5 +0,0 @@ -[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 Copied: dmd/repos/community-x86_64/dmd.conf (from rev 245700, dmd/trunk/dmd.conf) =================================================================== --- dmd.conf (rev 0) +++ dmd.conf 2017-07-19 17:07:43 UTC (rev 245701) @@ -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