summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavi da Silva Böger2017-04-20 15:08:17 -0300
committerDavi da Silva Böger2017-04-20 15:08:17 -0300
commitc70019a4a508380ba0f2c04c267610debb316c79 (patch)
tree6f98856908a54f6ffa51607ff086be4cb9acc5ec
parent15f2b7562cc8297527cfff2667c0c33fa462ec64 (diff)
downloadaur-c70019a4a508380ba0f2c04c267610debb316c79.tar.gz
Add install script that describes the purpose of this package
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD1
-rw-r--r--ldc017.install7
3 files changed, 10 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c552136e6af4..ab91960c6eb0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# Thu Apr 20 17:13:53 UTC 2017
+# Thu Apr 20 18:07:39 UTC 2017
pkgbase = ldc017
pkgdesc = A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2 (0.17 bootstrap branch)
pkgver = 0.17.4
pkgrel = 1
url = https://github.com/ldc-developers/ldc
+ install = ldc017.install
arch = i686
arch = x86_64
groups = dlang
diff --git a/PKGBUILD b/PKGBUILD
index d9c325734355..5a7a2a4f0d70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,6 +15,7 @@ url="https://github.com/ldc-developers/ldc"
license=('BSD')
depends=('libconfig' 'llvm-libs' 'curl')
makedepends=('git' 'cmake' 'llvm')
+install='ldc017.install'
backup=("etc/ldc2-0.17.conf")
options=('staticlibs')
diff --git a/ldc017.install b/ldc017.install
new file mode 100644
index 000000000000..1534f4007386
--- /dev/null
+++ b/ldc017.install
@@ -0,0 +1,7 @@
+pre_install() {
+ echo '>>> ldc017 is the LDC compiler from the LTS branch. It is the last version'
+ echo '>>> that does not require a D compiler to build and has the sole purpose of'
+ echo '>>> building a modern version of LDC (1.0.0+). It can be installed in parallel'
+ echo '>>> with official ldc package and everything (binaries, libraries, config'
+ echo '>>> files, etc.) is suffixed with "-0.17"'
+}