[arch-commits] Commit in dmd/repos (4 files)

Михаил Страшун dicebot at nymeria.archlinux.org
Sun Mar 2 20:08:54 UTC 2014


    Date: Sunday, March 2, 2014 @ 21:08:53
  Author: dicebot
Revision: 106411

archrelease: copy trunk to community-i686, community-x86_64

Added:
  dmd/repos/community-i686/PKGBUILD
    (from rev 106410, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/PKGBUILD
    (from rev 106410, dmd/trunk/PKGBUILD)
Deleted:
  dmd/repos/community-i686/PKGBUILD
  dmd/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  198 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |  126 ----------------------------
 community-x86_64/PKGBUILD |  126 ----------------------------
 3 files changed, 198 insertions(+), 252 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-03-02 19:32:06 UTC (rev 106410)
+++ community-i686/PKGBUILD	2014-03-02 20:08:53 UTC (rev 106411)
@@ -1,126 +0,0 @@
-# $Id$
-# Maintainer: Mihails Strasunse <public at dicebot.lv>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Anders Bergh <anders1 at gmail.com>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=('dmd' 'libphobos-devel' 'libphobos' 'dtools')
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.065.0
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://www.dlang.org"
-makedepends=('git' 'gcc' 'make')
-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"
-        "git+http://github.com/D-Programming-Language/tools#tag=v$pkgver")
-sha1sums=('SKIP'
-          'SKIP'
-          'SKIP'
-          'SKIP')
-
-[[ $CARCH == "x86_64" ]] && _archbits="64"
-[[ $CARCH == "i686" ]] && _archbits="32"
-
-build() {
-    cd $srcdir/dmd/src
-    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
-
-    cd $srcdir/tools
-
-    # rdmd is used to build others
-    $srcdir/dmd/src/dmd -I../druntime/import -I../phobos -L-L../phobos/generated/linux/release/$_archbits/ -od. -ofdtools-rdmd rdmd.d
-
-    for tool in DustMite/dustmite ddemangle catdoc detab tolf dget; do
-        ./dtools-rdmd --compiler=$srcdir/dmd/src/dmd --build-only -I../druntime/import -I../phobos -L-L../phobos/generated/linux/release/$_archbits/ -od. -ofdtools-`basename $tool` $tool.d
-    done
-}
-
-package_dmd() {
-    pkgdesc="The D programming language reference compiler"
-    backup=('etc/dmd.conf')
-    depends=('gcc')
-    optdepends=('dtools: collection of useful utilities for development in D' 'libphobos-devel: standard library, development package')
-    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--no-warn-search-mismatch -L--export-dynamic" > $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/backendlicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-backend
-    install -Dm644 $srcdir/dmd/src/gpl.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.1
-    install -Dm644 $srcdir/dmd/src/artistic.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.2
-    install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-phobos
-
-    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."
-    depends=("dmd")
-    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
-
-    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
-}
-
-package_dtools() {
-    pkgdesc="Ancilliary tools for the D programming language compiler"
-    depends=("curl")
-    license=("custom")
-
-    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
-
-    # same Boost license as Phobos
-    install -Dm644 $srcdir/phobos/LICENSE_1_0.txt usr/share/licenses/$pkgname/LICENSE
-}

Copied: dmd/repos/community-i686/PKGBUILD (from rev 106410, dmd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-03-02 20:08:53 UTC (rev 106411)
@@ -0,0 +1,99 @@
+# $Id$
+# Maintainer: Mihails Strasunse <public at dicebot.lv>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Anders Bergh <anders1 at gmail.com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=('dmd' 'libphobos-devel' 'libphobos')
+groups=('dlang' 'dlang-dmd')
+pkgbase=dmd
+pkgver=2.065.0
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://www.dlang.org"
+makedepends=('git' 'gcc' 'make')
+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')
+
+[[ $CARCH == "x86_64" ]] && _archbits="64"
+[[ $CARCH == "i686" ]] && _archbits="32"
+
+build() {
+    cd $srcdir/dmd/src
+    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')
+    optdepends=(
+        'dtools: collection of useful utilities for development in D' 'libphobos-devel: standard library, development package'
+        'libphobos-devel: standard D library, Phobos; modules + static library'
+        'libphobos: standard D library, Phobos; shared library'
+    )
+    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--no-warn-search-mismatch -L--export-dynamic" > $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/backendlicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-backend
+    install -Dm644 $srcdir/dmd/src/gpl.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.1
+    install -Dm644 $srcdir/dmd/src/artistic.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.2
+    install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-phobos
+
+    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."
+    depends=("dmd")
+    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
+
+    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
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-03-02 19:32:06 UTC (rev 106410)
+++ community-x86_64/PKGBUILD	2014-03-02 20:08:53 UTC (rev 106411)
@@ -1,126 +0,0 @@
-# $Id$
-# Maintainer: Mihails Strasunse <public at dicebot.lv>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Anders Bergh <anders1 at gmail.com>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=('dmd' 'libphobos-devel' 'libphobos' 'dtools')
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.065.0
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://www.dlang.org"
-makedepends=('git' 'gcc' 'make')
-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"
-        "git+http://github.com/D-Programming-Language/tools#tag=v$pkgver")
-sha1sums=('SKIP'
-          'SKIP'
-          'SKIP'
-          'SKIP')
-
-[[ $CARCH == "x86_64" ]] && _archbits="64"
-[[ $CARCH == "i686" ]] && _archbits="32"
-
-build() {
-    cd $srcdir/dmd/src
-    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
-
-    cd $srcdir/tools
-
-    # rdmd is used to build others
-    $srcdir/dmd/src/dmd -I../druntime/import -I../phobos -L-L../phobos/generated/linux/release/$_archbits/ -od. -ofdtools-rdmd rdmd.d
-
-    for tool in DustMite/dustmite ddemangle catdoc detab tolf dget; do
-        ./dtools-rdmd --compiler=$srcdir/dmd/src/dmd --build-only -I../druntime/import -I../phobos -L-L../phobos/generated/linux/release/$_archbits/ -od. -ofdtools-`basename $tool` $tool.d
-    done
-}
-
-package_dmd() {
-    pkgdesc="The D programming language reference compiler"
-    backup=('etc/dmd.conf')
-    depends=('gcc')
-    optdepends=('dtools: collection of useful utilities for development in D' 'libphobos-devel: standard library, development package')
-    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--no-warn-search-mismatch -L--export-dynamic" > $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/backendlicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-backend
-    install -Dm644 $srcdir/dmd/src/gpl.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.1
-    install -Dm644 $srcdir/dmd/src/artistic.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.2
-    install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-phobos
-
-    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."
-    depends=("dmd")
-    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
-
-    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
-}
-
-package_dtools() {
-    pkgdesc="Ancilliary tools for the D programming language compiler"
-    depends=("curl")
-    license=("custom")
-
-    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
-
-    # same Boost license as Phobos
-    install -Dm644 $srcdir/phobos/LICENSE_1_0.txt usr/share/licenses/$pkgname/LICENSE
-}

Copied: dmd/repos/community-x86_64/PKGBUILD (from rev 106410, dmd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-03-02 20:08:53 UTC (rev 106411)
@@ -0,0 +1,99 @@
+# $Id$
+# Maintainer: Mihails Strasunse <public at dicebot.lv>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Anders Bergh <anders1 at gmail.com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=('dmd' 'libphobos-devel' 'libphobos')
+groups=('dlang' 'dlang-dmd')
+pkgbase=dmd
+pkgver=2.065.0
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://www.dlang.org"
+makedepends=('git' 'gcc' 'make')
+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')
+
+[[ $CARCH == "x86_64" ]] && _archbits="64"
+[[ $CARCH == "i686" ]] && _archbits="32"
+
+build() {
+    cd $srcdir/dmd/src
+    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')
+    optdepends=(
+        'dtools: collection of useful utilities for development in D' 'libphobos-devel: standard library, development package'
+        'libphobos-devel: standard D library, Phobos; modules + static library'
+        'libphobos: standard D library, Phobos; shared library'
+    )
+    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--no-warn-search-mismatch -L--export-dynamic" > $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/backendlicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-backend
+    install -Dm644 $srcdir/dmd/src/gpl.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.1
+    install -Dm644 $srcdir/dmd/src/artistic.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.2
+    install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-phobos
+
+    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."
+    depends=("dmd")
+    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
+
+    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
+}




More information about the arch-commits mailing list