updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / rosbe / PKGBUILD
blob614f12f83669ecb10e14330388b2a682cd9ddedd
1 # Maintainer:   Jesse Jaara     <gmail.com: jesse.jaara>
3 pkgname=rosbe
4 pkgver=1.5
5 pkgrel=1
6 pkgdesc="ReactOS build enviroinment"
7 arch=(i686 x86_64)
8 url="http://www.reactos.org/wiki/ReactOS_Build_Environment"
9 license=('MULTIPLE: binutils,gcc,gmp,make,mingw,mprf,nasm,w32api')
10 depends=('bash' 'subversion')
11 options=(!strip)
12 install=
13 source=(http://downloads.sourceforge.net/reactos/RosBE-Unix-${pkgver}.tar.bz2
14         build_script.arch.patch)
16 build() {
17   cd "$srcdir/RosBE-Unix-$pkgver"
19   patch -p0 -i ../build_script.arch.patch
20   ./RosBE-Builder.sh "$pkgdir/opt/rosbe"
22   mkdir -p "${pkgdir}/opt/reactos-source"
23   mkdir -p "${pkgdir}/usr/bin"
24   cat <<EOF >> "${pkgdir}/usr/bin/rosbe"
25 #/bin/sh
27 if [[ -d /opt/reactos-source/base ]]; then
28         /opt/rosbe/RosBE.sh /opt/reactos-source 
29 else
30         echo "This is your 1st time running rosbe"
31         echo "I will now do initial svn checkout"
32         echo "Checkingout reactos core components..."
34         svn co svn://svn.reactos.org/reactos/trunk/reactos /opt/reactos-source
36         echo "There are also documentation, applications..."
37         echo "Repos that you can checkout manually."
38         echo "Take a look into ReactOS wiki to find them."
40         /opt/rosbe/RosBE.sh /opt/reactos-source
42 EOF
44 chmod +x "${pkgdir}/usr/bin/rosbe"
47 # vim:set ts=2 sw=2 et:
48 md5sums=('d25e14bc310c5f4c60c10e8792b90220'
49          '4fbb3cf1bb5bb2bc349e2160db6d2696')