summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Kitching2018-07-12 04:41:42 +0100
committerChris Kitching2018-07-12 04:41:42 +0100
commit37cfd660867b1b3c065877f2bf5b5b1296ac06a5 (patch)
treed894ef6b67c3b72ab9b2b17f730a039d0fc05db8
downloadaur-37cfd660867b1b3c065877f2bf5b5b1296ac06a5.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD20
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fe8a5afc9e0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+# Generated by mksrcinfo v8
+# Thu Jul 12 03:41:28 UTC 2018
+pkgbase = python2-llvm-lit
+ pkgdesc = LLVM integrated tester
+ pkgver = 6.0.1
+ pkgrel = 1
+ arch = x86_64
+ depends = python2
+ depends = python2-pip
+ source = https://releases.llvm.org/6.0.1/llvm-6.0.1.src.tar.xz
+ md5sums = c88c98709300ce2c285391f387fecce0
+
+pkgname = python2-llvm-lit
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e4e47e8c7ca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Chris Kitching <chriskitching@linux.com>
+
+pkgname=python2-llvm-lit
+pkgver=6.0.1
+pkgrel=1
+pkgdesc="LLVM integrated tester"
+arch=('x86_64')
+depends=(python2 python2-pip)
+source=("https://releases.llvm.org/$pkgver/llvm-$pkgver.src.tar.xz")
+md5sums=('c88c98709300ce2c285391f387fecce0')
+
+build() {
+ cd "llvm-$pkgver.src/utils/lit"
+ python2 setup.py build
+}
+
+package() {
+ cd "llvm-$pkgver.src/utils/lit"
+ python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+}