[arch-commits] Commit in spirv-headers/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Mar 16 12:19:10 UTC 2020
Date: Monday, March 16, 2020 @ 12:19:09
Author: felixonmars
Revision: 599683
archrelease: copy trunk to community-any
Added:
spirv-headers/repos/community-any/PKGBUILD
(from rev 599682, spirv-headers/trunk/PKGBUILD)
Deleted:
spirv-headers/repos/community-any/PKGBUILD
----------+
PKGBUILD | 44 ++++++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 20 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-16 12:18:54 UTC (rev 599682)
+++ PKGBUILD 2020-03-16 12:19:09 UTC (rev 599683)
@@ -1,20 +0,0 @@
-# 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
-}
Copied: spirv-headers/repos/community-any/PKGBUILD (from rev 599682, spirv-headers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-16 12:19:09 UTC (rev 599683)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org
+
+pkgname=spirv-headers
+pkgver=1.4.1
+pkgrel=1
+pkgdesc='SPIR-V Headers'
+arch=('any')
+url='https://www.khronos.org/registry/spir-v/'
+license=('MIT')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/KhronosGroup/SPIRV-Headers/archive/$pkgver.tar.gz")
+sha512sums=('def34baa2a67128126d0918445b757e2b67a5cf012f6ca4f9a671741e4b1bf6939a7ebd114f7741bcd19bd6c22d0c5dc46adc8ac62ec474164278858c2e65dcf')
+
+build() {
+ cd SPIRV-Headers-$pkgver
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package() {
+ cd SPIRV-Headers-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list