[arch-commits] Commit in vc/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 09:41:24 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:41:23
  Author: felixonmars
Revision: 383911

archrelease: copy trunk to staging-x86_64

Added:
  vc/repos/staging-x86_64/
  vc/repos/staging-x86_64/PKGBUILD
    (from rev 383910, vc/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: vc/repos/staging-x86_64/PKGBUILD (from rev 383910, vc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:41:23 UTC (rev 383911)
@@ -0,0 +1,31 @@
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: PedsXing <pedsxing at gmx dot net>
+
+pkgname=vc
+pkgver=1.4.1
+pkgrel=2
+pkgdesc="A library to ease explicit vectorization of C++ code"
+url='https://github.com/VcDevel/Vc'
+arch=(x86_64)
+license=(LGPL3)
+makedepends=(cmake)
+source=("https://github.com/VcDevel/Vc/releases/download/$pkgver/Vc-$pkgver.tar.gz")
+sha256sums=('68e609a735326dc3625e98bd85258e1329fb2a26ce17f32c432723b750a4119f')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../Vc-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DTARGET_ARCHITECTURE=generic
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list