summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0099fdd7341559660fbef5b1068501ce3f5adb3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Lukas Rose <public@lrose.de>
pkgname=boost171
pkgver=1.71.0
pkgrel=1
pkgdesc="Free peer-reviewed portable C++ source libraries"
arch=('i686' 'x86_64')
url="https://www.boost.org/"
license=('Boost Software License - Version 1.0')
optdepends=('python: for python bindings' 'python2: for python2 bindings')
makedepends=('gzip' 'icu' 'openmpi' 'python' 'python-numpy' 'zlib' 'zstd')
conflicts=('boost' 'boost-libs')
provides=('boost' 'boost-libs')
source=("https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.gz")
sha256sums=('96b34f7468f26a141f6020efb813f1a2f3dfb9797ecf76a7d7cbd843cc95f5bd')

prepare() {
  cd "boost_1_71_0"
  ./bootstrap.sh
}

build() {
  cd "boost_1_71_0"
  ./b2
}

package() {
  cd "boost_1_71_0"
  mkdir -p "$pkgdir/usr/include/"
  mkdir -p "$pkgdir/usr/lib/"
  cp -r boost "$pkgdir/usr/include/"
  cp -r stage/lib/* "$pkgdir/usr/lib/"
}