blob: ac93e054f02308c54189a32133fe9f7e4db7eb43 (
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
33
34
35
36
|
# Maintainer: Marco Pompili <aur@mg.odd.red>
# Contributor: Dennis Kempin <mail@dennis-kempin.de>
pkgname=boost-build
pkgver=4.3.0
pkgrel=1
pkgdesc="Boost.Build makes it easy to build C++ projects, everywhere."
arch=('any')
url="http://www.boost.org/build/"
license=('custom:boost')
depends=('gcc' 'boost' 'python')
conflicts=('boost-build-nightly')
source=("https://github.com/boostorg/build/archive/${pkgver}.tar.gz"
"http://www.boost.org/LICENSE_1_0.txt")
sha256sums=('97eb98343da636c314edccb08173e25cea13b155233ebb4d74e065d55f791364'
'c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566')
prepare() {
cd ${srcdir}/build-${pkgver}/
./bootstrap.sh
}
package() {
cd ${srcdir}/build-${pkgver}/
echo ${pkgdir}
./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/
install -Dm644 ${srcdir}/LICENSE_1_0.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|