[arch-commits] Commit in vulkan-headers/repos/extra-any (PKGBUILD PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Wed Aug 15 16:04:21 UTC 2018
Date: Wednesday, August 15, 2018 @ 16:04:21
Author: lcarlier
Revision: 331536
archrelease: copy trunk to extra-any
Added:
vulkan-headers/repos/extra-any/PKGBUILD
(from rev 331535, vulkan-headers/trunk/PKGBUILD)
Deleted:
vulkan-headers/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 40 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-15 16:04:17 UTC (rev 331535)
+++ PKGBUILD 2018-08-15 16:04:21 UTC (rev 331536)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=vulkan-headers
-_pkgname=Vulkan-Headers
-pkgver=1.1.80
-pkgrel=2
-epoch=1
-pkgdesc="Vulkan header files"
-arch=(any)
-url="https://www.khronos.org/vulkan/"
-license=('APACHE')
-makedepends=(cmake git)
-provides=("vulkan-hpp=${pkgver}")
-groups=(vulkan-devel)
-#source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
-source=("git+https://github.com/KhronosGroup/Vulkan-Headers.git#commit=ec4eff88f79b74c4865f41bef0d6af9a46d53896")
-sha256sums=('SKIP')
-
-build() {
- cd Vulkan-Headers
-
- rm -rf build ; mkdir build ; cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- ..
- make
-}
-
-package() {
- cd Vulkan-Headers/build
-
- make DESTDIR="${pkgdir}" install
-}
Copied: vulkan-headers/repos/extra-any/PKGBUILD (from rev 331535, vulkan-headers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-15 16:04:21 UTC (rev 331536)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=vulkan-headers
+_pkgname=Vulkan-Headers
+pkgver=1.1.82+97+c4e056d
+pkgrel=1
+epoch=1
+pkgdesc="Vulkan header files"
+arch=(any)
+url="https://www.khronos.org/vulkan/"
+license=('APACHE')
+makedepends=(cmake git)
+provides=("vulkan-hpp=${pkgver}")
+groups=(vulkan-devel)
+#source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
+source=("git+https://github.com/KhronosGroup/Vulkan-Headers.git#commit=c4e056d365472174471a243dfefbfe66a03564af")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd Vulkan-Headers
+
+ echo 1.1.82+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd Vulkan-Headers
+
+ rm -rf build ; mkdir build ; cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+ make
+}
+
+package() {
+ cd Vulkan-Headers/build
+
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list