summaryrefslogtreecommitdiff
path: root/community/ldc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/ldc
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/ldc')
-rw-r--r--community/ldc/PKGBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/community/ldc/PKGBUILD b/community/ldc/PKGBUILD
deleted file mode 100644
index e03404d17..000000000
--- a/community/ldc/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# $Id: PKGBUILD 92773 2013-06-15 01:02:41Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-pkgname=ldc
-pkgver=0.11.0
-epoch=1
-pkgrel=1
-pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
-arch=('i686' 'x86_64')
-url="http://www.dsource.org/projects/ldc"
-license=('BSD')
-depends=('llvm' 'libconfig')
-makedepends=('git' 'cmake')
-backup=('etc/ldc2.conf')
-source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}")
-sha1sums=('SKIP')
-
-[[ $CARCH == "x86_64" ]] && _multilib="ON"
-[[ $CARCH == "i686" ]] && _multilib="OFF"
-
-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=$_multilib \
- ..
- make
-}
-
-package() {
- cd "$srcdir"/ldc
-
- cd build
- make DESTDIR=$pkgdir install
- cd ..
-
- mkdir -p $pkgdir/usr/share/bash-completion/
- mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions
-
- install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-
- # We don't actually want the multilib libs in this package
- rm -rf $pkgdir/usr/lib32
-}