Date: Friday, June 29, 2018 @ 06:53:01
  Author: lcarlier
Revision: 327751

archrelease: copy trunk to extra-any

Added:
  vulkan-docs/repos/extra-any/PKGBUILD
    (from rev 327750, vulkan-docs/trunk/PKGBUILD)
Deleted:
  vulkan-docs/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 62 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-06-29 06:52:55 UTC (rev 327750)
+++ PKGBUILD    2018-06-29 06:53:01 UTC (rev 327751)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordhea...@gmail.com>
-
-pkgbase=vulkan-docs
-pkgname=(vulkan-html-docs)
-pkgver=1.1.78
-pkgrel=1
-epoch=1
-_pkgname=Vulkan-Docs
-arch=(any)
-url="https://www.khronos.org/vulkan/";
-license=('custom')
-makedepends=(asciidoctor python3 dblatex source-highlight cmake ghostscript git
-             ruby-rdoc lyx pango gdk-pixbuf2) # for asciidoctor-mathematical
-groups=(vulkan-devel)
-source=("https://github.com/KhronosGroup/${_pkgname}/archive/v${pkgver}.tar.gz";)
-sha256sums=('a4a91b0cd6a9721adb82f3c4e35bc2801e68bc5c8765085cb93ec29ed2e4d8a5')
-
-prepare() {
-  # for asciidoctor
-  # it was hard to find versions that builds properly ^^
-  local _gemdir="$(ruby -e 'puts Gem.default_dir')"
-
-  gem install asciidoctor-mathematical  
-  gem install asciidoctor-pdf-cjk  
-  gem install coderay  
-}
-
-build() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-
-  ./makeAllExts
-}
-
-package_vulkan-html-docs() {
-  pkgdesc="Vulkan html documentation"
-  cd "${_pkgname}-${pkgver}"
-
-  install -dm755 "${pkgdir}/usr/share/doc/vulkan"
-  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  mv -v out/*.html "${pkgdir}/usr/share/doc/vulkan/"
-  mv -v out/html/* "${pkgdir}/usr/share/doc/vulkan/"
-
-  install -m644 copyright-ccby.txt 
${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt
-  install -m644 copyright-spec.txt 
${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt
-}

Copied: vulkan-docs/repos/extra-any/PKGBUILD (from rev 327750, 
vulkan-docs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-06-29 06:53:01 UTC (rev 327751)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordhea...@gmail.com>
+
+pkgbase=vulkan-docs
+pkgname=(vulkan-headers vulkan-html-docs)
+pkgver=1.1.78
+pkgrel=2
+epoch=1
+_pkgname=Vulkan-Docs
+arch=(any)
+url="https://www.khronos.org/vulkan/";
+license=('custom')
+makedepends=(asciidoctor python3 dblatex source-highlight cmake ghostscript git
+             ruby-rdoc lyx pango gdk-pixbuf2) # for asciidoctor-mathematical
+groups=(vulkan-devel)
+source=("https://github.com/KhronosGroup/${_pkgname}/archive/v${pkgver}.tar.gz";)
+sha256sums=('a4a91b0cd6a9721adb82f3c4e35bc2801e68bc5c8765085cb93ec29ed2e4d8a5')
+
+prepare() {
+  # for asciidoctor
+  # it was hard to find versions that builds properly ^^
+  local _gemdir="$(ruby -e 'puts Gem.default_dir')"
+
+  gem install asciidoctor-mathematical  
+  gem install asciidoctor-pdf-cjk  
+  gem install coderay  
+}
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  ./makeAllExts
+}
+
+package_vulkan-headers() {
+  pkgdesc="Vulkan header files"
+  cd "${_pkgname}-${pkgver}"
+
+  install -dm755 "${pkgdir}/usr/include/vulkan"
+  install -dm755 "${pkgdir}/usr/share/vulkan"
+  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  install -m644 include/vulkan/*.h ${pkgdir}/usr/include/vulkan
+  install -m644 xml/vk.xml ${pkgdir}/usr/share/vulkan
+
+  install -m644 copyright-ccby.txt 
${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt
+  install -m644 copyright-spec.txt 
${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt
+}
+
+package_vulkan-html-docs() {
+  pkgdesc="Vulkan html documentation"
+  cd "${_pkgname}-${pkgver}"
+
+  install -dm755 "${pkgdir}/usr/share/doc/vulkan"
+  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  mv -v out/*.html "${pkgdir}/usr/share/doc/vulkan/"
+  mv -v out/html/* "${pkgdir}/usr/share/doc/vulkan/"
+
+  install -m644 copyright-ccby.txt 
${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt
+  install -m644 copyright-spec.txt 
${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt
+}

Reply via email to