[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2022-05-16 Thread Dan Printzell via arch-commits
Date: Monday, May 16, 2022 @ 21:26:41
  Author: wild
Revision: 1207630

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 1207629, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 1207629, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 1207629, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  274 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 149 insertions(+), 149 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-16 21:26:23 UTC (rev 1207629)
+++ PKGBUILD2022-05-16 21:26:41 UTC (rev 1207630)
@@ -1,137 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.099.1
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'1ceb799d2b0eb87929ecc63e1cfbb59a1d16c217ffe446779eead4096524'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F8A26D5D7572ECA06EC7973182C52E37A8BC8393') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed -e "s/,/ -L=/g" -e "s/-flto=auto/--flto=full/")"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2022-04-15 Thread Dan Printzell via arch-commits
Date: Friday, April 15, 2022 @ 15:58:47
  Author: wild
Revision: 1186580

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 1186579, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 1186579, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 1186579, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  274 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 149 insertions(+), 149 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-15 15:58:41 UTC (rev 1186579)
+++ PKGBUILD2022-04-15 15:58:47 UTC (rev 1186580)
@@ -1,137 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.099.0
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'d4c0fced16bbc3abfe158d3f24536a6272fa3d0c2091687b3bb1e9333d03b5a6'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed -e "s/,/ -L=/g" -e "s/-flto=auto/--flto=full/")"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2022-03-17 Thread Dan Printzell via arch-commits
Date: Thursday, March 17, 2022 @ 18:24:25
  Author: wild
Revision: 1156796

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 1156795, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 1156795, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 1156795, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  274 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 149 insertions(+), 149 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-17 18:24:11 UTC (rev 1156795)
+++ PKGBUILD2022-03-17 18:24:25 UTC (rev 1156796)
@@ -1,137 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.098.1
-pkgrel=2
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'19c28b0d306df56bbe9e053c929c56fdba2034685df092f26fc91c3abebcde63'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed -e "s/,/ -L=/g" -e "s/-flto/--flto=full/")"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2022-01-22 Thread Dan Printzell via arch-commits
Date: Sunday, January 23, 2022 @ 00:59:27
  Author: wild
Revision: 1113513

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 1113512, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 1113512, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 1113512, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  274 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 149 insertions(+), 149 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-23 00:59:20 UTC (rev 1113512)
+++ PKGBUILD2022-01-23 00:59:27 UTC (rev 1113513)
@@ -1,137 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.098.1
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'19c28b0d306df56bbe9e053c929c56fdba2034685df092f26fc91c3abebcde63'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r "$srcdir"/dmd2/html/* 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2022-01-01 Thread Dan Printzell via arch-commits
Date: Saturday, January 1, 2022 @ 20:51:36
  Author: wild
Revision: 1092006

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 1092005, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 1092005, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 1092005, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  274 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 149 insertions(+), 149 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-01 20:51:30 UTC (rev 1092005)
+++ PKGBUILD2022-01-01 20:51:36 UTC (rev 1092006)
@@ -1,137 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.098.0
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'1104e5e59fd47828b798d77a72be547bf086bba1d374a1855c6b5814c4db0145'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r "$srcdir"/dmd2/html/* 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2021-10-15 Thread Dan Printzell via arch-commits
Date: Friday, October 15, 2021 @ 16:46:40
  Author: wild
Revision: 1030292

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 1030291, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 1030291, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 1030291, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  274 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 149 insertions(+), 149 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-15 16:46:31 UTC (rev 1030291)
+++ PKGBUILD2021-10-15 16:46:40 UTC (rev 1030292)
@@ -1,137 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.097.2
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'c680b74844ac7369cf3c635a1fb13cb62d647ee4545d91657393b2f749719311'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r "$srcdir"/dmd2/html/* 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2021-08-19 Thread Felix Yan via arch-commits
Date: Thursday, August 19, 2021 @ 12:20:19
  Author: felixonmars
Revision: 1003803

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 1003802, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 1003802, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 1003802, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  274 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 149 insertions(+), 149 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-19 12:20:07 UTC (rev 1003802)
+++ PKGBUILD2021-08-19 12:20:19 UTC (rev 1003803)
@@ -1,137 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.097.1
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'030fd1bc3b7308dadcf08edc1529d4a2e46496d97ee92ed532b246a0f55745e6'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2021-07-26 Thread Felix Yan via arch-commits
Date: Monday, July 26, 2021 @ 18:48:03
  Author: felixonmars
Revision: 985721

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 985720, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 985720, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 985720, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  275 ++
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 149 insertions(+), 150 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-26 18:47:41 UTC (rev 985720)
+++ PKGBUILD2021-07-26 18:48:03 UTC (rev 985721)
@@ -1,138 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.097.0
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'751a6f3fcd1e361b7204345f4c23db48944145e488aea88ab46b6809d09b9cf1'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r "$srcdir"/dmd2/html/* 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2021-06-06 Thread Dan Printzell via arch-commits
Date: Sunday, June 6, 2021 @ 21:29:21
  Author: wild
Revision: 956374

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 956373, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 956373, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 956373, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  276 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 150 insertions(+), 150 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-06 21:29:15 UTC (rev 956373)
+++ PKGBUILD2021-06-06 21:29:21 UTC (rev 956374)
@@ -1,138 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.096.1
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'3c03b2db4b8c541a5396b6be66ea880bf47a15f0e3b5d4fc096570a2141d6b5f'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r "$srcdir"/dmd2/html/* 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2021-05-03 Thread Dan Printzell via arch-commits
Date: Monday, May 3, 2021 @ 21:19:53
  Author: wild
Revision: 927295

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 927294, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 927294, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 927294, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  276 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 150 insertions(+), 150 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-03 21:19:46 UTC (rev 927294)
+++ PKGBUILD2021-05-03 21:19:53 UTC (rev 927295)
@@ -1,138 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.096.0
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'bd266ed693f95bade59f1848b40eba0c1f5319f98c63dfc913fcebf5e0988d40'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r "$srcdir"/dmd2/html/* 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2021-03-21 Thread Dan Printzell via arch-commits
Date: Sunday, March 21, 2021 @ 19:05:14
  Author: wild
Revision: 898420

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 898419, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 898419, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 898419, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  276 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 150 insertions(+), 150 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-21 19:05:07 UTC (rev 898419)
+++ PKGBUILD2021-03-21 19:05:14 UTC (rev 898420)
@@ -1,138 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.095.1
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'a8ff961663810ae61afe2398f131c9f3a85aefed572e11b544aef030c142abfe'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r "$srcdir"/dmd2/html/* 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2021-02-23 Thread Dan Printzell via arch-commits
Date: Tuesday, February 23, 2021 @ 21:42:44
  Author: wild
Revision: 870758

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 870757, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 870757, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 870757, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  276 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 150 insertions(+), 150 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-23 21:42:38 UTC (rev 870757)
+++ PKGBUILD2021-02-23 21:42:44 UTC (rev 870758)
@@ -1,138 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.095.0
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'02853f8a4988f55dab5daa1e0e9910ea91905b85bcaa7a5ffd83079147dc7d93'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r "$srcdir"/dmd2/html/* 

[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

2021-01-05 Thread Dan Printzell via arch-commits
Date: Tuesday, January 5, 2021 @ 20:59:56
  Author: wild
Revision: 809815

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 809814, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 809814, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 809814, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  270 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 +-
 3 files changed, 150 insertions(+), 144 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-01-05 20:59:49 UTC (rev 809814)
+++ PKGBUILD2021-01-05 20:59:56 UTC (rev 809815)
@@ -1,132 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.094.2
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver;
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver;
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz;
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig;
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'e29a9ca9595573d2d2cbd667403b2bc49ad9a06d6460d7f90306147731b9fe54'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F46A10D0AB44C3D15DD65797BCDD73FFC3EB6146') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed "s/,/ -L=/g") -flto=full"
-cd "$srcdir"/dmd
-make -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 ENABLE_LTO=1 
HOST_DMD=ldmd2
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=ldmd2
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/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 generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir -p "$pkgdir"/usr/share/d/html
-cp -r "$srcdir"/dmd2/html/* "$pkgdir"/usr/share/d/html/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_libphobos() {
-pkgdesc="The Phobos standard library for D programming language"
-options=('staticlibs'