27 lines
790 B
Bash
27 lines
790 B
Bash
_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:
|