pkgname=boost-build pkgver=1.64.0 epoch=1 pkgrel=2 pkgdesc="Boost build system." arch=('x86_64') url="http://www.boost.org/doc/tools/build/" license=('custom') depends=('boost-libs' 'gcc' 'python3') source=("https://github.com/boostorg/build/archive/boost-${pkgver}.tar.gz" "http://www.boost.org/LICENSE_1_0.txt") sha256sums=('08df6f0e32c59e51a134e598b29a3dacb415a58e4494635b82a071d43a1e3631' 'c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566') prepare() { cd ${srcdir}/build-boost-${pkgver} ./bootstrap.sh } package(){ cd ${srcdir}/build-boost-${pkgver} ./b2 install --prefix=${pkgdir}/usr # Removing b2 and bjam, already installed by boost msg2 "Removing /usr/bin/b2 and /usr/bin/bjam files, already installed by boost" rm -rf ${pkgdir}/usr/bin/ # License. install -Dm 644 $srcdir/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE }