[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Tue Apr 4 17:59:43 UTC 2017


    Date: Tuesday, April 4, 2017 @ 17:59:42
  Author: andyrtr
Revision: 292079

upgpkg: opengl-man-pages 20170404-1

upstream update 20170404; source moved to github

Modified:
  opengl-man-pages/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-04 16:16:44 UTC (rev 292078)
+++ PKGBUILD	2017-04-04 17:59:42 UTC (rev 292079)
@@ -2,26 +2,24 @@
 # Maintainer: AndyRTR <andyrtr at archlinux.org>
 
 pkgname=opengl-man-pages
-pkgver=20160220
-_revision=32463
+pkgver=20170404
+_commit=03552a8094ae3017e0b8b2ad44c602f81c03e848
 pkgrel=1
 pkgdesc="OpenGL Man Pages"
 arch=('any')
-url="http://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_Pages"
+url="https://github.com/KhronosGroup/OpenGL-Refpages"
 license=('custom')
 # OpenGL 4.x (current) API and GLSL pages - libxslt' 'docbook-xsl'
 # OpenGL 3.x and older 'w3c-mathml2' 'docbook-mathml'
-makedepends=('libxslt' 'docbook-xsl' 'w3c-mathml2' 'docbook-mathml' 'subversion')
-# https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/
-source=(man4::svn+https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man4/#revision=${_revision}	# OpenGL 4.x (current) API and GLSL pages
-        man3::svn+https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man3/#revision=${_revision}	# OpenGL 3.x API pages
-        man2::svn+https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man2/#revision=${_revision}	# OpenGL 2.x API pages
+makedepends=('libxslt' 'docbook-xsl' 'w3c-mathml2' 'docbook-mathml' 'git')
+source=(${pkgname}::git+https://github.com/KhronosGroup/OpenGL-Refpages#commit=$_commit
         'LICENSE')
-md5sums=('SKIP'
-         'SKIP'
-         'SKIP'
-         'cb856abe5968300057e650096ba25b2f')
-_mandirs=(man4 man3 man2)
+sha256sums=('SKIP'
+            'a7b2f6669d7ead91dcaf5a03620cdf9d37c54d83fd1899b4ef84683c7e6d4024')
+# gl2.1 = OpenGL 2.1 (including fixed functionality)
+# es3   = OpenGL ES 3.x (will always be the latest ES, currently 3.2)
+# gl4   = OpenGL 4.x (current) API and GLSL pages
+_mandirs=(gl4 es3 gl2.1)
 
 pkgver() {
   date +%Y%m%d
@@ -37,7 +35,7 @@
   export XML_CATALOG_FILES="$WD/mathml2.cat /etc/xml/catalog"
  
   for manpages in ${_mandirs[@]}; do
-    cd "${srcdir}/${manpages}"
+    cd "${srcdir}/${pkgname}/${manpages}"
     for file in gl*.xml; do
       xsltproc --noout --nonet /usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl ${file}
     done
@@ -47,7 +45,7 @@
 package() {
   install -d "${pkgdir}/usr/share/man/man3"
   for manpages in ${_mandirs[@]}; do
-    cd "${srcdir}/${manpages}"
+    cd "${srcdir}/${pkgname}/${manpages}"
     install -m644 *.3G "${pkgdir}/usr/share/man/man3/"
   done
   # license



More information about the arch-commits mailing list