desktop/boost-build/PKGBUILD

32 lines
843 B
Bash
Raw Normal View History

pkgname=boost-build
2016-03-13 20:45:31 +08:00
pkgver=2016.03
pkgrel=2
pkgdesc="Boost build system."
2016-03-13 20:45:31 +08:00
arch=('x86_64')
url="http://www.boost.org/doc/tools/build/"
2014-06-13 19:05:47 +08:00
license=('custom')
2016-03-13 20:45:31 +08:00
depends=('boost-libs' 'gcc' 'python3')
source=("https://github.com/boostorg/build/archive/${pkgver}.tar.gz"
"http://www.boost.org/LICENSE_1_0.txt")
2016-03-13 20:45:31 +08:00
sha1sums=('0e6936337c25fc87d2aff8ea6c63019e9c1e319a'
'3cba29011be2b9d59f6204d6fa0a386b1b2dbd90')
2014-06-13 19:05:47 +08:00
2016-03-13 20:45:31 +08:00
prepare() {
cd ${srcdir}/build-${pkgver}
2016-03-13 20:45:31 +08:00
./bootstrap.sh
}
package(){
cd ${srcdir}/build-${pkgver}
2016-03-13 20:45:31 +08:00
./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
}