From 380272e22acdec7d964e400c7e6ac7549fad9645 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Tue, 29 Oct 2019 16:49:29 +0100 Subject: [PATCH] New package: ldc0.17-0.17.6 --- common/shlibs | 4 ++++ srcpkgs/ldc0.17-runtime | 1 + srcpkgs/ldc0.17/template | 31 +++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 120000 srcpkgs/ldc0.17-runtime create mode 100644 srcpkgs/ldc0.17/template diff --git a/common/shlibs b/common/shlibs index a79ef996138..775bd5e783f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1985,6 +1985,10 @@ libFcitxQt5WidgetsAddons.so.1 libfcitx-qt5-1.2.1_1 libfcitx-qt5.so.0 libfcitx-qt5-0.1.3_1 liblastfm.so.1 liblastfm-1.0.9_1 liblastfm_fingerprint.so.1 liblastfm-1.0.9_1 +libdruntime-ldc-debug.so.68 ldc0.17-runtime-0.17.6_1 +libdruntime-ldc.so.68 ldc0.17-runtime-0.17.6_1 +libphobos2-ldc-debug.so.68 ldc0.17-runtime-0.17.6_1 +libphobos2-ldc.so.68 ldc0.17-runtime-0.17.6_1 libdruntime-ldc-debug-shared.so.83 ldc-runtime-1.13.0_1 libdruntime-ldc-shared.so.83 ldc-runtime-1.13.0_1 libphobos2-ldc-shared.so.83 ldc-runtime-1.13.0_1 diff --git a/srcpkgs/ldc0.17-runtime b/srcpkgs/ldc0.17-runtime new file mode 120000 index 00000000000..4da223c3b92 --- /dev/null +++ b/srcpkgs/ldc0.17-runtime @@ -0,0 +1 @@ +ldc0.17 \ No newline at end of file diff --git a/srcpkgs/ldc0.17/template b/srcpkgs/ldc0.17/template new file mode 100644 index 00000000000..04e74c65041 --- /dev/null +++ b/srcpkgs/ldc0.17/template @@ -0,0 +1,31 @@ +# Template file for 'ldc0.17' +pkgname=ldc0.17 +version=0.17.6 +revision=1 +wrksrc="ldc-${version}-src" +build_style=cmake +configure_args="-DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc -DBUILD_SHARED_LIBS=ON + -DBASH_COMPLETION_COMPLETIONSDIR=/usr/share/bash-completion" +conf_files="/etc/ldc2.conf" +hostmakedepends="llvm6.0 pkg-config libconfig-devel bash-completion" +depends="ldc0.17-runtime" +short_desc="Portable D programming language compiler based on LLVM, version 0.17" +maintainer="Orphaned " +license="BSD-3-Clause, BSL-1.0, GPL-2.0-or-later" +homepage="https://wiki.dlang.org/LDC" +changelog="https://raw.githubusercontent.com/ldc-developers/ldc/master/CHANGELOG.md" +distfiles="https://github.com/ldc-developers/ldc/releases/download/v${version}/ldc-${version}-src.tar.gz" +checksum=868b8c07ab697306ea65f0006fc2b6b96db4df226e82f8f11cafbed6fa9ac561 +nopie=yes +nocross=yes + +post_install() { + vlicense LICENSE +} + +ldc0.17-runtime_package() { + short_desc+=" - D runtime" + pkg_install() { + vmove "usr/lib/*.so*" + } +}