diff options
author | Gabriel Souza Franco | 2019-01-04 14:09:36 +0100 |
---|---|---|
committer | Gabriel Souza Franco | 2019-01-04 14:09:36 +0100 |
commit | 801c9dcec29e9574ba26ca517294c1c283914e2f (patch) | |
tree | 497dc7c8997dea61098696d6ee4d0277bc6f0535 | |
parent | 8d5c376456053a76e010b95ad0ba2fbf6e3fefb3 (diff) | |
download | aur-801c9dcec29e9574ba26ca517294c1c283914e2f.tar.gz |
Split docs in its own package
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 35 insertions, 13 deletions
@@ -1,14 +1,14 @@ pkgbase = coin pkgdesc = A high-level 3D graphics toolkit on top of OpenGL pkgver = 3.1.3 - pkgrel = 17 - url = http://www.coin3d.org/ + pkgrel = 18 + url = https://bitbucket.org/Coin3D/coin arch = i686 arch = x86_64 license = GPL makedepends = doxygen depends = libgl - depends = expat + depends = libsm optdepends = openal: sound/dynamic linking support optdepends = fontconfig: dynamic linking support optdepends = zlib: dynamic linking support @@ -25,4 +25,16 @@ pkgbase = coin sha256sums = ab939e75dd5e9be87781ab6c9f4c69c9a85c6d6c6c554249fbd3f4e646b4a7de pkgname = coin + optdepends = openal: sound/dynamic linking support + optdepends = fontconfig: dynamic linking support + optdepends = zlib: dynamic linking support + optdepends = freetype2: dynamic linking support + optdepends = js: dynamic linking support + optdepends = simage: image format support + optdepends = coin-docs: Coin documentation + +pkgname = coin-docs + pkgdesc = A high-level 3D graphics toolkit on top of OpenGL (docs) + arch = any + depends = @@ -1,18 +1,19 @@ # Maintainer: Gabriel Souza Franco <Z2FicmllbGZyYW5jb3NvdXphQGdtYWlsLmNvbQ==> -# Contributor: Florian Pritz <bluewind@xinu.at> +# Contributor: Florian Pritz # Contributor: Christian Hesse <mail@eworm.de> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: mickele # Contributor: marcus fritzsch <fritschy@googlemail.com> -pkgname=coin +pkgbase=coin +pkgname=(coin coin-docs) pkgver=3.1.3 -pkgrel=17 +pkgrel=18 pkgdesc='A high-level 3D graphics toolkit on top of OpenGL' -url='http://www.coin3d.org/' +url='https://bitbucket.org/Coin3D/coin' license=('GPL') arch=('i686' 'x86_64') -depends=('libgl' 'expat') +depends=('libgl' 'libsm') makedepends=('doxygen') optdepends=('openal: sound/dynamic linking support' 'fontconfig: dynamic linking support' @@ -75,16 +76,25 @@ build() { make } -package() { +package_coin() { + optdepends+=('coin-docs: Coin documentation') + cd Coin-${pkgver} - make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" HTMLDIRS= install # final adjustments - for _FILE in threads deprecated errors events ; do + for _FILE in threads deprecated errors events; do mv "${pkgdir}/usr/share/man/man3/${_FILE}.3" "${pkgdir}/usr/share/man/man3/coin-${_FILE}.3" done - - rm -f "$pkgdir/usr/share/man/man3/_build"* } +package_coin-docs() { + pkgdesc='A high-level 3D graphics toolkit on top of OpenGL (docs)' + arch=(any) + depends=() + + cd Coin-${pkgver}/html + + make DESTDIR="${pkgdir}" install-html +} |