From 377d30fb707ca715010e16298233ab8c856a1809 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 18 Jun 2013 11:07:24 +0200 Subject: [PATCH] New package: ldc-0.11.0 via pancake. --- srcpkgs/ldc/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/ldc/template diff --git a/srcpkgs/ldc/template b/srcpkgs/ldc/template new file mode 100644 index 00000000000..5898ee601bf --- /dev/null +++ b/srcpkgs/ldc/template @@ -0,0 +1,29 @@ +# Template file for 'ldc' +pkgname=ldc +version=0.11.0 +revision=1 +wrksrc="$pkgname-$version-src" +build_style=cmake +hostmakedepends="cmake llvm>=3.3" +makedepends="libconfig++-devel" +maintainer="pancake " +homepage="http://wiki.dlang.org/LDC" +license="BSD" +short_desc="Portable D programming language compiler based on LLVM" +distfiles="http://d32gngvpvl2pi1.cloudfront.net/$pkgname-$version-src.tar.gz" +checksum="5571292adc195f9822b17df9bea86856fa26f9bb85b025bf9d7f566192b6375d" + +LDFLAGS="-lpthread" + +post_install() { + vmkdir usr/share/bash-completion/completions + mv ${DESTDIR}/etc/bash_completion.d/* \ + ${DESTDIR}/usr/share/bash-completion/completions +} + +ldc_package() { + conf_files="/etc/ldc2.rebuild.conf /etc/ldc2.conf" + pkg_install() { + vmove all + } +}