[arch-commits] Commit in spirv-headers/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jan 25 17:20:41 UTC 2019


    Date: Friday, January 25, 2019 @ 17:20:40
  Author: felixonmars
Revision: 427888

archrelease: copy trunk to community-any

Added:
  spirv-headers/repos/community-any/
  spirv-headers/repos/community-any/PKGBUILD
    (from rev 427887, spirv-headers/trunk/PKGBUILD)

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

Copied: spirv-headers/repos/community-any/PKGBUILD (from rev 427887, spirv-headers/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-01-25 17:20:40 UTC (rev 427888)
@@ -0,0 +1,20 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org
+
+pkgname=spirv-headers
+pkgver=1.3.20190125
+_commit=8bea0a266ac9b718aa0818d9e3a47c0b77c2cb23
+pkgrel=1
+pkgdesc='SPIR-V Headers'
+arch=('any')
+url='https://www.khronos.org/registry/spir-v/'
+license=('MIT')
+source=("$pkgname-$_commit.tar.gz::https://github.com/KhronosGroup/SPIRV-Headers/archive/$_commit.tar.gz")
+sha512sums=('270abfa9e87ffd87aaf79b7d2b4c61790e09e451ddfeebbac6e726fea6affd3aab26785de5f4b2b36f857e8039f1cf756b060309fe52148998d308a199b67e24')
+
+package() {
+  cd SPIRV-Headers-$_commit
+  install -dm755 "$pkgdir"/usr/include/spirv/unified1
+  install -m644 include/spirv/unified1/*.{h,hpp,hpp11} "$pkgdir"/usr/include/spirv/unified1/
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list