[arch-commits] Commit in ldc/trunk (PKGBUILD)

Dan Printzell wild at archlinux.org
Sat Dec 16 00:49:12 UTC 2017


    Date: Saturday, December 16, 2017 @ 00:49:11
  Author: wild
Revision: 274551

upgpkg: ldc 1:1.6.0-2

Restored ldc-build-runtime and added version to d-compiler

Modified:
  ldc/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-15 23:53:36 UTC (rev 274550)
+++ PKGBUILD	2017-12-16 00:49:11 UTC (rev 274551)
@@ -7,8 +7,9 @@
 groups=('dlang' 'dlang-ldc')
 pkgver=1.6.0
 _pkgcommit=00a9a38212dc5ff7bbcf8d7233540ddc3b885f7f
+_dversion=2.076.1
 epoch=1
-pkgrel=1
+pkgrel=2
 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
 arch=('x86_64')
 url="https://github.com/ldc-developers/ldc"
@@ -61,7 +62,7 @@
 package_ldc() {
     depends=('liblphobos' 'llvm-libs')
     backup=('etc/ldc2.conf')
-    provides=('d-compiler')
+    provides=("d-compiler=$_dversion")
 
     cd "$srcdir/ldc/build"
     make install DESTDIR="$pkgdir"
@@ -76,7 +77,6 @@
     rm -rf "$pkgdir/usr/lib"
 
     # remove misc
-    rm -rf "$pkgdir/usr/bin/ldc-build-runtime"
 
     # symlinks
     ln -s /usr/share/bash-completion/completions/ldc2 "$pkgdir/usr/share/bash-completion/completions/ldc"



More information about the arch-commits mailing list