diff --git a/common/shlibs b/common/shlibs index 8985e006cd..d81041039c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1872,3 +1872,7 @@ libfcitx-qt.so.0 libfcitx-qt-4.2.8_1 liblastfm.so.1 liblastfm-1.0.9_1 liblastfm_fingerprint.so.1 liblastfm-1.0.9_1 libfcitx-qt5.so.0 libfcitx-qt5-0.1.3_1 +libdruntime-ldc-debug.so.66 ldc-runtime-0.15.1_1 +libdruntime-ldc.so.66 ldc-runtime-0.15.1_1 +libphobos2-ldc.so.66 ldc-runtime-0.15.1_1 +libphobos2-ldc-debug.so.66 ldc-runtime-0.15.1_1 diff --git a/srcpkgs/ldc-runtime b/srcpkgs/ldc-runtime new file mode 120000 index 0000000000..12f0b1bf64 --- /dev/null +++ b/srcpkgs/ldc-runtime @@ -0,0 +1 @@ +ldc \ No newline at end of file diff --git a/srcpkgs/ldc/template b/srcpkgs/ldc/template index f80afdf6ce..f534f02d15 100644 --- a/srcpkgs/ldc/template +++ b/srcpkgs/ldc/template @@ -1,25 +1,30 @@ # Template file for 'ldc' # -broken="http://build.voidlinux.eu:8010/builders/x86_64_builder/builds/7026/steps/shell_4/logs/stdio" - pkgname=ldc -version=0.13.0 -revision=2 +version=0.15.1 +revision=1 wrksrc="ldc-${version}-src" build_style=cmake -hostmakedepends="cmake llvm perl" -makedepends="zlib-devel libconfig++-devel libffi-devel" +configure_args="-DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc -DBUILD_SHARED_LIBS=ON" +hostmakedepends="cmake llvm perl pkg-config" +makedepends="zlib-devel libconfig-devel libffi-devel libcurl-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 +checksum=ff7ea55309d678c20524779091617aa1d4bdbaa39e1a650927020fe1627f4b0f post_install() { vmkdir usr/share/bash-completion/completions mv ${DESTDIR}/etc/bash_completion.d/* \ ${DESTDIR}/usr/share/bash-completion/completions } + +ldc-runtime_package() { + short_desc+=" - D runtime" + pkg_install() { + vmove usr/lib/*.so* + } +}