From 6fa95bbbfa1f65bf9ced42e500bf1765ac011a07 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 3 Nov 2019 16:45:22 +0100 Subject: [PATCH] Add boost-doc for Boost's HTML documentation --- boost/doc/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 boost/doc/PKGBUILD diff --git a/boost/doc/PKGBUILD b/boost/doc/PKGBUILD new file mode 100644 index 00000000..e0f18341 --- /dev/null +++ b/boost/doc/PKGBUILD @@ -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: