[arch-commits] Commit in (4 files)

Laurent Carlier lcarlier at archlinux.org
Tue Feb 16 19:57:38 UTC 2016


    Date: Tuesday, February 16, 2016 @ 20:57:38
  Author: lcarlier
Revision: 259844

initial commit

Added:
  vulkan-docs/
  vulkan-docs/repos/
  vulkan-docs/trunk/
  vulkan-docs/trunk/PKGBUILD

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

Added: vulkan-docs/trunk/PKGBUILD
===================================================================
--- vulkan-docs/trunk/PKGBUILD	                        (rev 0)
+++ vulkan-docs/trunk/PKGBUILD	2016-02-16 19:57:38 UTC (rev 259844)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=(vulkan-headers vulkan-man-pages)
+pkgver=1.0.20160216
+_pkgname=Vulkan-Docs
+_pkgver=1.0-core+wsi-20160216
+pkgrel=1
+arch=(any)
+url="https://www.khronos.org/vulkan/"
+license=('custom')
+makedepends=(asciidoc)
+source=("https://github.com/KhronosGroup/${_pkgname}/archive/v${_pkgver}.tar.gz")
+md5sums=('27905b5702637bfb3aeeb5320c2770c5')
+
+build() {
+  cd "${_pkgname}-${_pkgver/+/-}/doc/specs/vulkan"
+
+  make manpages
+}
+
+package_vulkan-headers() {
+  pkgdesc="Vulkan header files"
+  cd "${_pkgname}-${_pkgver/+/-}"
+
+  install -dm755 ${pkgdir}/usr/include/vulkan
+  install -m644 src/vulkan/vk_platform.h ${pkgdir}/usr/include/vulkan/
+  install -m644 src/vulkan/vulkan.h ${pkgdir}/usr/include/vulkan
+
+  install -D -m644 doc/specs/vulkan/copyright.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright.txt
+}
+
+package_vulkan-man-pages() {
+  pkgdesc="Vulkan man pages"
+  cd "${_pkgname}-${_pkgver/+/-}"
+
+  install -dm755 "${pkgdir}/usr/share/man/man3"
+  install -m644 doc/specs/vulkan/man/*.3 "${pkgdir}/usr/share/man/man3/"
+
+  install -D -m644 doc/specs/vulkan/copyright.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright.txt
+}


Property changes on: vulkan-docs/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list