summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkyechou2020-12-26 20:52:40 -0600
committerkyechou2020-12-26 20:52:40 -0600
commit3d80bef49c5192e2a2fded35dd4a8a4a769366fe (patch)
tree8c3ea21b5cd503b4e4e5bba4824fda6b79bd87d1
parente97aabd4d7336ee169652eef7ec7782f81bea0ee (diff)
downloadaur-3d80bef49c5192e2a2fded35dd4a8a4a769366fe.tar.gz
Install lit from vcpkg source
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e34d956ee7b..6a2ae668bf7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cxx-common
pkgdesc = Common dependency management for various Trail of Bits C++ codebases
pkgver = 0.1.1
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/trailofbits/cxx-common
arch = x86_64
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 19d2b33a288..4a61a5b81eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cxx-common
pkgver=0.1.1
-pkgrel=5
+pkgrel=6
pkgdesc="Common dependency management for various Trail of Bits C++ codebases"
arch=('x86_64')
url="https://github.com/trailofbits/cxx-common"
@@ -33,6 +33,11 @@ package() {
./vcpkg/vcpkg export --x-all-installed \
--overlay-ports=./ports --overlay-triplets=./triplets --raw \
--output="$pkgdir/opt/$pkgname"
+
+ ## install lit
+ pushd "$srcdir/$pkgname-$pkgver"/vcpkg/buildtrees/llvm-10/src/org-*/llvm/utils/lit
+ python3 setup.py install --root="$pkgdir" -O1
+ popd
}
# vim: set sw=4 ts=4 et: