void-packages/srcpkgs/ldc/template

22 lines
749 B
Plaintext
Raw Normal View History

2013-06-18 11:07:24 +02:00
# Template file for 'ldc'
pkgname=ldc
2014-06-09 07:42:45 +02:00
version=0.12.1
revision=1
wrksrc="ldc-${version}-src"
2013-06-18 11:07:24 +02:00
build_style=cmake
2014-06-09 07:42:45 +02:00
hostmakedepends="cmake llvm perl"
makedepends="zlib-devel libconfig++-devel libffi-devel"
conf_files="/etc/ldc2.rebuild.conf /etc/ldc2.conf"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-06-18 11:07:24 +02:00
homepage="http://wiki.dlang.org/LDC"
license="BSD"
short_desc="Portable D programming language compiler based on LLVM"
2014-06-09 07:42:45 +02:00
distfiles="https://github.com/ldc-developers/ldc/releases/download/v${version}/ldc-${version}-src.tar.gz"
checksum=e559d1018da99d1df606d3876a6ce0e66252944d28adb99db74aa90290d5a53f
2013-06-18 11:07:24 +02:00
post_install() {
vmkdir usr/share/bash-completion/completions
mv ${DESTDIR}/etc/bash_completion.d/* \
${DESTDIR}/usr/share/bash-completion/completions
}