[arch-commits] Commit in lib32-libphobos/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Михаил Страшун dicebot at nymeria.archlinux.org
Fri Nov 8 11:01:34 UTC 2013


    Date: Friday, November 8, 2013 @ 12:01:34
  Author: dicebot
Revision: 100689

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libphobos/repos/multilib-x86_64/PKGBUILD
    (from rev 100688, lib32-libphobos/trunk/PKGBUILD)
Deleted:
  lib32-libphobos/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 50 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-08 11:01:14 UTC (rev 100688)
+++ PKGBUILD	2013-11-08 11:01:34 UTC (rev 100689)
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 72006 2012-06-05 14:34:01Z svenstaro $
-# Maintainer: 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=('lib32-libphobos')
-_pkgname=dmd
-pkgver=2.063.2
-pkgrel=1
-pkgdesc="The phobos D standard library for DMD (32-bit)"
-arch=('x86_64')
-url="http://www.digitalmars.com/d/2.0/"
-#source=(http://ftp.digitalmars.com/$_pkgname.$pkgver.zip)
-source=("git+http://github.com/D-Programming-Language/phobos.git#tag=v$pkgver"
-        "git+http://github.com/D-Programming-Language/druntime.git#tag=v$pkgver")
-makedepends=('dmd' 'git')
-depends=('lib32-curl')
-license=('custom')
-md5sums=('SKIP'
-         'SKIP')
-
-build() {
-    cd $srcdir/druntime
-    make -f posix.mak MODEL=32
-
-    cd $srcdir/phobos
-    make -f posix.mak MODEL=32
-}
-
-package() {
-  #install -Dm644 $srcdir/phobos/src/druntime/lib/libdruntime-linux32.a $pkgdir/usr/lib32/libdruntime.a
-  install -Dm644 $srcdir/phobos/generated/linux/release/32/libphobos2.a $pkgdir/usr/lib32/libphobos2.a
-  install -Dm644 $srcdir/phobos/generated/linux/release/32/libphobos2.so $pkgdir/usr/lib32/libphobos2.so
-
-  install -Dm644 $srcdir/druntime/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}

Copied: lib32-libphobos/repos/multilib-x86_64/PKGBUILD (from rev 100688, lib32-libphobos/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-11-08 11:01:34 UTC (rev 100689)
@@ -0,0 +1,50 @@
+# Maintainer: Mihails Strasuns <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=('lib32-libphobos-devel' 'lib32-libphobos')
+groups=('dlang' 'dlang-dmd')
+pkgver=2.064.2
+pkgrel=1
+arch=('x86_64')
+groups=('dlang' 'dlang-dmd')
+url="http://www.dlang.org"
+source=("git+http://github.com/D-Programming-Language/phobos.git#tag=v$pkgver"
+        "git+http://github.com/D-Programming-Language/druntime.git#tag=v$pkgver")
+sha1sums=('SKIP'
+          'SKIP')
+makedepends=('dmd' 'git')
+depends=('lib32-curl')
+license=('custom')
+
+build() {
+    cd $srcdir/druntime
+    make -f posix.mak MODEL=32 RELEASE=1
+
+    cd $srcdir/phobos
+    make -f posix.mak MODEL=32 RELEASE=1
+}
+
+package_lib32-libphobos-devel() {
+    pkgdesc="The Phobos standard library for D programming language. Modules and static library (32-bit)"
+	depends=("dmd")
+	options=("staticlibs")
+    provides=("d-runtime=$pkgver" "d-stdlib=$pkgver")
+
+    install -Dm644 $srcdir/phobos/generated/linux/release/32/libphobos2.a $pkgdir/usr/lib32/libphobos2.a
+
+    install -Dm644 $srcdir/druntime/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+    install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-phobos
+}
+
+package_lib32-libphobos() {
+    pkgdesc="The Phobos standard library for D programming language (32-bit)"
+
+    install -Dm644 $srcdir/phobos/generated/linux/release/32/libphobos2.so $pkgdir/usr/lib32/libphobos2.so
+
+    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
+}




More information about the arch-commits mailing list