summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoutrelis <foutrelis@eb2447ed-0c53-47e4-bac8-5bc4a241df78>2019-07-20 13:04:09 +0000
committersvntogit <svntogit@nymeria.archlinux.org>2019-07-20 13:04:09 +0000
commit12237636bbf670e86581a6a0ede4229fed7eda99 (patch)
treebf17d9a94ac7e92348b620d8c760df7635926e33
parentd335cecc590d567744a0d42f339b83595547003a (diff)
archrelease: copy trunk to staging-x86_64
git-svn-id: file:///srv/repos/svn-packages/svn@358434 eb2447ed-0c53-47e4-bac8-5bc4a241df78
-rw-r--r--repos/staging-x86_64/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/repos/staging-x86_64/PKGBUILD b/repos/staging-x86_64/PKGBUILD
new file mode 100644
index 0000000..b60c62a
--- /dev/null
+++ b/repos/staging-x86_64/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+
+pkgname=openmp
+pkgver=8.0.1
+pkgrel=1
+pkgdesc="LLVM OpenMP Runtime Library"
+arch=('x86_64')
+url="https://openmp.llvm.org/"
+license=('custom:University of Illinois/NCSA Open Source License')
+depends=('glibc' 'libelf' 'libffi')
+makedepends=('cmake' 'ninja')
+source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig})
+sha256sums=('3e85dd3cad41117b7c89a41de72f2e6aa756ea7b4ef63bb10dcddf8561a7722c'
+ 'SKIP')
+validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
+validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
+
+prepare() {
+ cd "$pkgname-$pkgver.src"
+ mkdir build
+}
+
+build() {
+ cd "$pkgname-$pkgver.src/build"
+
+ cmake .. -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ ninja
+}
+
+package() {
+ cd "$pkgname-$pkgver.src/build"
+
+ DESTDIR="$pkgdir" ninja install
+ install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # libgomp.so is also provided by gcc-libs; remove it to fix the conflict
+ rm "$pkgdir/usr/lib/libgomp.so"
+
+}
+
+# vim:set ts=2 sw=2 et: