updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / qterminal-cvs / PKGBUILD
blob2c3fd7a1e17a4a4732c95c1cb2b19cb9e0f36659
1 # Contributor: Odites <odites@gmail.ocm>
3 pkgname=qterminal-cvs
4 pkgver=20090626
5 pkgrel=1
6 pkgdesc="Light QT-based multitab terminal emulator. Based on QTermWidget"
7 arch=('i686' 'x86_64')
8 url="http://www.qt-apps.org/content/show.php/QTerminal?content=92158"
9 license=('GPL')
10 depends=('qt')
11 source=()
12 md5sums=()
14 _cvsroot=":pserver:anonymous@qterminal.cvs.sourceforge.net:/cvsroot/qterminal"
15 _cvsmod="qterminal"
16 source=()
17 md5sums=()
19 build() {
20     cd ${srcdir} 
21     msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
22     if [ -d ${_cvsmod}/CVS ]; then
23       cd ${_cvsmod}
24       cvs -z3 update -d
25     else
26       cvs -z3 -d ${_cvsroot} co -D ${pkgver} -f ${_cvsmod}
27       cd ${_cvsmod}
28     fi
29     
30     msg "CVS checkout done or server timeout"
31     msg "Starting make..."
33     cp -r ../${_cvsmod} ../${_cvsmod}-build
34     cd ../${_cvsmod}-build
35     
36     sh ./get_qtermwidget.sh
38     cd ../${_cvsmod}-build
40     sh ./build.sh
41     
42     make DESTDIR=${pkgdir}/ install
44     install -D -m755 ${_cvsmod} ${pkgdir}/usr/bin/${_cvsmod}