# Template file for 'ldc' pkgname=ldc version=0.13.0 revision=2 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" conflicts="libphobos>=0" maintainer="Juan RP " 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=93b7061912bf8d03274059be9f4649c8aa9349bc1bac62a5ef227f0e2aeb19e6 post_install() { vmkdir usr/share/bash-completion/completions mv ${DESTDIR}/etc/bash_completion.d/* \ ${DESTDIR}/usr/share/bash-completion/completions }