Skip to content

Commit cf8f816

Browse files
committed
Merge pull request #9 from hesiod/lld
2 parents 980816a + c6c2b49 commit cf8f816

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

PKGBUILD

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Contributor: Armin K. <krejzi at email dot com>
44
# Contributor: Christian Babeux <christian.babeux@0x80.ca>
55
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
6+
# Contributor: Hesiod (https://github.com/hesiod)
67
# Contributor: Roberto Alsina <ralsina@kde.org>
78
# Contributor: Thomas Dziedzic < gostrc at gmail >
89
# Contributor: Tomas Lindquist Olsen <tomas@famolsen.dk>
@@ -47,6 +48,7 @@ source=(
4748
'clang::svn+http://llvm.org/svn/llvm-project/cfe/trunk'
4849
'clang-tools-extra::svn+http://llvm.org/svn/llvm-project/clang-tools-extra/trunk'
4950
'compiler-rt::svn+http://llvm.org/svn/llvm-project/compiler-rt/trunk'
51+
'lld::svn+http://llvm.org/svn/llvm-project/lld/trunk'
5052
'llvm-Config-llvm-config.h'
5153
)
5254

@@ -55,6 +57,7 @@ sha256sums=(
5557
'SKIP'
5658
'SKIP'
5759
'SKIP'
60+
'SKIP'
5861
'597dc5968c695bbdbb0eac9e8eb5117fcd2773bc91edf5ec103ecffffab8bc48'
5962
)
6063

@@ -141,10 +144,11 @@ pkgver() {
141144
prepare() {
142145
cd "${srcdir}/${_pkgname}"
143146

144-
# Anything added here should also be pruned in _install_licenses() above.
147+
# Anything added here and packaged separately should be pruned in _install_licenses() above.
145148
svn export --force "${srcdir}/clang" tools/clang
146149
svn export --force "${srcdir}/clang-tools-extra" tools/clang/tools/extra
147150
svn export --force "${srcdir}/compiler-rt" projects/compiler-rt
151+
svn export --force "${srcdir}/lld" tools/lld
148152

149153
mkdir -p "${srcdir}/build"
150154
}
@@ -238,7 +242,7 @@ package_llvm-svn() {
238242
fi
239243

240244
# Clean up documentation
241-
rm -rf "${pkgdir}/usr/share/doc/llvm/html/_sources"
245+
rm -rf "${pkgdir}/usr/share/doc/"{llvm,lld}"/html/_sources"
242246

243247
_install_python_bindings "${srcdir}/llvm/bindings/python/llvm"
244248

0 commit comments

Comments
 (0)