Date: Tuesday, November 12, 2013 @ 19:06:09
  Author: dicebot
Revision: 100871

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 42 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2013-11-12 18:05:57 UTC (rev 100870)
+++ PKGBUILD    2013-11-12 18:06:09 UTC (rev 100871)
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 72029 2012-06-06 11:58:40Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
-pkgname=lib32-libphobos-ldc
-pkgver=20130604
-pkgrel=1
-pkgdesc="libphobos for ldc (32-bit)"
-arch=('x86_64')
-url="http://www.dsource.org/projects/ldc";
-license=('BSD')
-depends=('llvm' 'libconfig')
-makedepends=('git' 'cmake')
-source=("git://github.com/ldc-developers/ldc.git")
-md5sums=("SKIP")
-
-build() {
-  cd "$srcdir"/ldc
-  git submodule update --init --recursive
-
-  mkdir build && cd build
-  cmake \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \
-      -DMULTILIB=ON \
-      ..
-  make
-}
-
-package() {
-  cd "$srcdir"/ldc
-
-  cd build
-  make DESTDIR=$pkgdir install
-  cd ..
-
-  # We don't want anything but the 32-bit libs
-  rm -rf $pkgdir/usr/{share,lib,include,bin} $pkgdir/etc
-
-  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}

Copied: lib32-libphobos-ldc/repos/multilib-x86_64/PKGBUILD (from rev 100870, 
lib32-libphobos-ldc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2013-11-12 18:06:09 UTC (rev 100871)
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 72029 2012-06-06 11:58:40Z svenstaro $
+# Maintainer: Mihails Strasuns <pub...@dicebot.lv>
+# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com>
+pkgname=lib32-liblphobos-devel
+groups=('dlang' 'dlang-ldc')
+provides=("d-runtime" "d-stdlib")
+pkgver=20130604
+pkgrel=2
+pkgdesc="D standard library (libphobos) for LDC compiler (32-bit)"
+arch=('x86_64')
+url="https://github.com/ldc-developers/ldc";
+license=('BSD')
+depends=('ldc')
+makedepends=('git' 'llvm' 'libconfig' 'cmake')
+source=("git://github.com/ldc-developers/ldc.git")
+md5sums=("SKIP")
+options=("staticlibs")
+
+build() {
+    cd "$srcdir"/ldc
+
+    git submodule update --init --recursive
+
+    mkdir build && cd build
+    cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \
+    -DMULTILIB=ON \
+    ..
+    make
+}
+
+package() {
+       cd "$srcdir"/ldc
+
+    # We don't want anything but the 32-bit libs
+    install -D -m644 build/lib32/libphobos-ldc.a $pkgdir/usr/lib32/liblphobos.a
+    install -D -m644 build/lib32/libphobos-ldc-debug.a 
$pkgdir/usr/lib32/liblphobos-debug.a
+
+    install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+

Reply via email to