[arch-commits] Commit in vulkan-docs/trunk (PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Mon Oct 3 20:19:10 UTC 2016
Date: Monday, October 3, 2016 @ 20:19:09
Author: lcarlier
Revision: 277594
upgpkg: vulkan-docs 1:1.0.29-1
upstream update 1.0.29, workaround manpage creation
Modified:
vulkan-docs/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++++++++---------
1 file changed, 21 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-03 19:32:37 UTC (rev 277593)
+++ PKGBUILD 2016-10-03 20:19:09 UTC (rev 277594)
@@ -3,11 +3,11 @@
pkgbase=vulkan-docs
pkgname=(vulkan-headers vulkan-man-pages vulkan-html-docs)
-pkgver=1.0.25
+pkgver=1.0.29
pkgrel=1
epoch=1
_pkgname=Vulkan-Docs
-_pkgver=1.0-core-20160826
+_pkgver=1.0-core-20160930
arch=(any)
url="https://www.khronos.org/vulkan/"
license=('custom')
@@ -14,12 +14,16 @@
makedepends=(asciidoc python3)
groups=(vulkan-devel)
source=("https://github.com/KhronosGroup/${_pkgname}/archive/v${_pkgver}.tar.gz")
-md5sums=('95242e4b3fa7d9e47e9eee3f60a324d8')
+md5sums=('3f9370c61eadfb28895f0884c94eada7')
build() {
cd "${_pkgname}-${_pkgver}/doc/specs/vulkan"
- ./makeKHR manpages
+ # ./makeKHR manpages
+ # Broken, see https://github.com/KhronosGroup/Vulkan-Docs/issues/367
+ # workaround :( (yes, twice the same command)
+ LANG="en_US.UTF8" make manpages
+ LANG="en_US.UTF8" make manpages
./makeKHR chunked
}
@@ -27,14 +31,16 @@
pkgdesc="Vulkan header files"
cd "${_pkgname}-${_pkgver}"
- install -dm755 ${pkgdir}/usr/include/vulkan
- install -dm755 ${pkgdir}/usr/share/vulkan
+ install -dm755 "${pkgdir}/usr/include/vulkan"
+ install -dm755 "${pkgdir}/usr/share/vulkan"
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 src/vulkan/vk_platform.h ${pkgdir}/usr/include/vulkan/
install -m644 src/vulkan/vulkan.h ${pkgdir}/usr/include/vulkan
install -m644 src/spec/vk.xml ${pkgdir}/usr/share/vulkan
- install -D -m644 doc/specs/vulkan/copyright.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright.txt
+ install -m644 doc/specs/vulkan/copyright-ccby.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt
+ install -m644 doc/specs/vulkan/copyright-spec.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt
}
package_vulkan-man-pages() {
@@ -42,9 +48,12 @@
cd "${_pkgname}-${_pkgver}"
install -dm755 "${pkgdir}/usr/share/man/man3"
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+
install -m644 out/1.0/man/3/*.3 "${pkgdir}/usr/share/man/man3/"
- install -D -m644 doc/specs/vulkan/copyright.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright.txt
+ install -m644 doc/specs/vulkan/copyright-ccby.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt
+ install -m644 doc/specs/vulkan/copyright-spec.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt
}
package_vulkan-html-docs() {
@@ -52,7 +61,10 @@
cd "${_pkgname}-${_pkgver}"
install -dm755 "${pkgdir}/usr/share/doc/vulkan"
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+
mv -v out/1.0/chunked/* "${pkgdir}/usr/share/doc/vulkan/"
- install -D -m644 doc/specs/vulkan/copyright.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright.txt
+ install -m644 doc/specs/vulkan/copyright-ccby.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt
+ install -m644 doc/specs/vulkan/copyright-spec.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt
}
More information about the arch-commits
mailing list