[arch-commits] Commit in vc-intrinsics/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Fri Mar 4 23:35:54 UTC 2022


    Date: Friday, March 4, 2022 @ 23:35:54
  Author: archange
Revision: 1142027

upgpkg: vc-intrinsics 0.1.0-1

Modified:
  vc-intrinsics/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++------------------
 1 file changed, 6 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-04 23:33:47 UTC (rev 1142026)
+++ PKGBUILD	2022-03-04 23:35:54 UTC (rev 1142027)
@@ -2,29 +2,18 @@
 # Maintainer: Daniel Bermond <dbermond at archlinux.org>
 
 pkgname=vc-intrinsics
-pkgver=r100+2d0795c
-pkgrel=2
+pkgver=0.1.0
+pkgrel=1
 pkgdesc="Set of new intrinsics on top of core LLVM IR instructions that represent SIMD semantics of a program targeting GPU"
 arch=(x86_64)
 url="https://github.com/intel/vc-intrinsics"
 license=(MIT)
-makedepends=(git cmake python llvm)
-source=(git+https://github.com/intel/vc-intrinsics.git#commit=2d0795c6799d262a464e5e8b8f74b09dd3ec1054)
-sha256sums=('SKIP')
+makedepends=(cmake python llvm)
+source=(${url}/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('b925d55dcf7b94666a36c6c5afa77e81dcff3705660f131bd1566025d1f4fa13')
 
-pkgver() {
-  cd ${pkgname}
-  printf "r%s+%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-prepare() {
-  cd ${pkgname}
-  # Wrap getName function (build fix for LLVM 13)
-  git format-patch -1 --stdout 19e6ddafc545 | patch -Np1
-}
-
 build() {
-  cmake -B build -S ${pkgname} \
+  cmake -B build -S ${pkgname}-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DLLVM_DIR=/usr/lib/cmake/llvm \
@@ -34,5 +23,4 @@
 
 package() {
   make -C build DESTDIR="${pkgdir}" install
-  install -Dm644 ${pkgname}/License.md -t "${pkgdir}"/usr/share/licenses/${pkgname}
 }



More information about the arch-commits mailing list