void-packages/srcpkgs/ldc/template

22 lines
749 B
Plaintext

# Template file for 'ldc'
pkgname=ldc
version=0.12.1
revision=1
wrksrc="ldc-${version}-src"
build_style=cmake
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>"
homepage="http://wiki.dlang.org/LDC"
license="BSD"
short_desc="Portable D programming language compiler based on LLVM"
distfiles="https://github.com/ldc-developers/ldc/releases/download/v${version}/ldc-${version}-src.tar.gz"
checksum=e559d1018da99d1df606d3876a6ce0e66252944d28adb99db74aa90290d5a53f
post_install() {
vmkdir usr/share/bash-completion/completions
mv ${DESTDIR}/etc/bash_completion.d/* \
${DESTDIR}/usr/share/bash-completion/completions
}