Add boost-doc for Boost's HTML documentation
This commit is contained in:
parent
b0f114a85b
commit
6fa95bbbfa
|
@ -0,0 +1,26 @@
|
|||
_pkgbase=boost
|
||||
pkgname=boost-doc
|
||||
pkgver=1.71.0
|
||||
_boostver=${pkgver//./_}
|
||||
pkgrel=1
|
||||
pkgdesc='Free peer-reviewed portable C++ source libraries (HTML documentation)'
|
||||
url='https://www.boost.org/'
|
||||
arch=('x86_64')
|
||||
license=('custom')
|
||||
makedepends=()
|
||||
source=(https://dl.bintray.com/boostorg/release/${pkgver}/source/boost_${_boostver}.tar.bz2)
|
||||
sha256sums=('d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee')
|
||||
options=(!strip)
|
||||
|
||||
package() {
|
||||
cd ${_pkgbase}_${_boostver}
|
||||
local dest=$pkgdir/usr/share/$_pkgbase/doc
|
||||
|
||||
install -dm755 "$dest"
|
||||
find \( \
|
||||
-iname '*.htm' -o -iname '*.html' -o -iname '*.css' -o \
|
||||
-iname '*.png' -o -iname '*.gif' -o -iname '*.jpg' -o -iname '*.js' \
|
||||
\) -exec cp --target-directory="$dest" --parents --verbose {} +
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
Loading…
Reference in New Issue