]> git.pld-linux.org Git - packages/psi-plus.git/blob - generate-tarball.sh
- show which patch is applied; exclude git/svn dirs
[packages/psi-plus.git] / generate-tarball.sh
1 #!/bin/sh
2
3 rm -rf psi
4 git clone git://git.psi-im.org/psi.git
5 cd psi
6 git submodule init
7 git submodule update
8 git pull
9 git submodule update
10 svn co http://psi-dev.googlecode.com/svn/trunk/patches/
11 # already applied
12 rm patches/0005-psi-proxy-settings-in-opt.diff
13 for patch in patches/*.diff; do
14         echo "* PATCHING WITH $patch"
15         cat $patch | patch -p1
16 done
17 pkgrel=`svnversion "patches"`
18 cd src
19 sed "s/\(.xxx\)/.${pkgrel}/" -i "applicationinfo.cpp"
20 cd ..
21 svn co --force http://psi-dev.googlecode.com/svn/trunk/iconsets/ iconsets
22 cd ..
23 mv psi psi-plus-0.15.${pkgrel}
24 tar --exclude .svn --exclude .git -cvJf psi-plus-0.15.${pkgrel}.tar.xz psi-plus-0.15.${pkgrel}
25 rm -rf psi-plus-0.15.${pkgrel}
This page took 0.674425 seconds and 3 git commands to generate.