1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
7 # for more information on packaging from SVN sources.
9 # Maintainer: Filippov Aleksey <sarum9in@gmail.com>
10 pkgname=boost.process-svn
13 pkgdesc="Unofficial boost process library"
15 url="http://www.highscore.de/boost/process/"
19 makedepends=('subversion')
20 provides=(boost.process)
21 conflicts=(boost.process)
26 source=('filesystem.patch' 'boost_system_system_category.patch' 'mingw32.patch')
28 md5sums=('8e56dc15541a0160408b6fda1d5cc2eb'
29 'a8746c197dc4b34057e6d58a2085c79f'
30 'a16ab29dc440f261f613ec3b0d43c7c0')
32 _svntrunk="http://svn.boost.org/svn/boost/sandbox/process/boost/"
33 _svnmod="boost.process"
37 msg "Connecting to SVN server...."
39 if [[ -d "$_svnmod/.svn" ]]; then
40 (cd "$_svnmod" && svn up -r "$pkgver")
42 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
45 msg "SVN checkout done or server timeout"
46 msg "Starting build..."
48 rm -rf "$srcdir/$_svnmod-build"
49 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
50 cd "$srcdir/$_svnmod-build"
55 cd "$srcdir/$_svnmod-build"
56 patch -Np1 -i "../filesystem.patch"
57 patch -Np1 -i "../boost_system_system_category.patch"
58 patch -Np1 -i "../mingw32.patch"
62 cd "$srcdir/$_svnmod-build"
63 dest="$pkgdir/usr/include/boost"
65 tar cf - --exclude-vcs . | (cd "$dest" && tar xf -)
68 # vim:set ts=2 sw=2 et: