[arch-commits] Commit in lib32-liblphobos/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Михаил Страшун
dicebot at archlinux.org
Thu Dec 18 08:19:22 UTC 2014
Date: Thursday, December 18, 2014 @ 09:19:22
Author: dicebot
Revision: 124073
archrelease: copy trunk to multilib-x86_64
Added:
lib32-liblphobos/repos/multilib-x86_64/PKGBUILD
(from rev 124072, lib32-liblphobos/trunk/PKGBUILD)
Deleted:
lib32-liblphobos/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 48 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-18 06:47:27 UTC (rev 124072)
+++ PKGBUILD 2014-12-18 08:19:22 UTC (rev 124073)
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 72029 2012-06-06 11:58:40Z svenstaro $
-# Maintainer: Mihails Strasuns <public at dicebot.lv>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=lib32-liblphobos-devel
-groups=('dlang' 'dlang-ldc')
-provides=("d-runtime" "d-stdlib")
-pkgver=0.14.0
-pkgrel=1
-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#tag=v$pkgver")
-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
-
- # licenses
- install -D -m644 "$srcdir/ldc/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # We don't want anything but the 32-bit libs
- install -D -m644 "$srcdir/ldc/build/lib32/libphobos2-ldc.a" "$pkgdir/usr/lib32/liblphobos2.a"
- install -D -m644 "$srcdir/ldc/build/lib32/libdruntime-ldc.a" "$pkgdir/usr/lib32/libldruntime.a"
- install -D -m644 "$srcdir/ldc/build/lib32/libphobos2-ldc-debug.a" "$pkgdir/usr/lib32/liblphobos2-debug.a"
- install -D -m644 "$srcdir/ldc/build/lib32/libdruntime-ldc-debug.a" "$pkgdir/usr/lib32/libldruntime-debug.a"
-}
Copied: lib32-liblphobos/repos/multilib-x86_64/PKGBUILD (from rev 124072, lib32-liblphobos/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-12-18 08:19:22 UTC (rev 124073)
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 72029 2012-06-06 11:58:40Z svenstaro $
+# Maintainer: Mihails Strasuns <public at dicebot.lv>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=lib32-liblphobos
+groups=('dlang' 'dlang-ldc')
+provides=("d-runtime" "d-stdlib")
+replaces=("lib32-liblphobos-devel")
+pkgver=0.15.1
+pkgrel=1
+pkgdesc="D standard library (libphobos) for LDC compiler (32-bit)"
+arch=('x86_64')
+url="https://github.com/ldc-developers/ldc"
+license=('BSD')
+depends=('ldc' 'lib32-curl' 'lib32-gcc-libs')
+makedepends=('git' 'llvm' 'libconfig' 'cmake')
+source=("git://github.com/ldc-developers/ldc.git#tag=v$pkgver")
+md5sums=("SKIP")
+options=("staticlibs")
+
+build() {
+ cd "$srcdir"/ldc
+
+ git submodule update --init --recursive
+
+ mkdir build && cd build
+ cmake \
+ -DMULTILIB=ON \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \
+ -DBUILD_SHARED_LIBS=ON \
+ ..
+
+ make
+}
+
+package() {
+ cd "$srcdir"/ldc
+
+ # licenses
+ install -D -m644 "$srcdir/ldc/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # We don't want anything but the 32-bit libs
+ install -D -m644 $srcdir/ldc/build/lib32/libphobos2-ldc.so $pkgdir/usr/lib32/liblphobos2.so
+ install -D -m644 $srcdir/ldc/build/lib32/libdruntime-ldc.so $pkgdir/usr/lib32/libldruntime.so
+ install -D -m644 $srcdir/ldc/build/lib32/libphobos2-ldc-debug.so $pkgdir/usr/lib32/liblphobos2-debug.so
+ install -D -m644 $srcdir/ldc/build/lib32/libdruntime-ldc-debug.so $pkgdir/usr/lib32/libldruntime-debug.so
+}
More information about the arch-commits
mailing list