updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / fqterm-svn / PKGBUILD
blobc8e08a7d4e77367061a3cff7c83f8b5d3a5b922c
1 # Contributor: Lee.MaRS<leemars at gmail.com>
2 pkgname=fqterm-svn
3 pkgver=631
4 pkgrel=1
5 pkgdesc="FQTerm, a modern terminal emulator."
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/fqterm/"
8 license=('GPL2')
9 depends=('qt' 'openssl')
10 makedepends=('svn' 'cmake')
11 provides=('fqterm')
12 source=()
13 md5sums=()
15 _svntrunk=http://fqterm.googlecode.com/svn/trunk/
16 _svnmod=fqterm-read-only
18 build() {
19   cd "$srcdir"
21   if [ -d $_svnmod/.svn ]; then
22     (cd $_svnmod && svn up -r $pkgver)
23   else
24     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25   fi
27   msg "SVN checkout done or server timeout"
28   msg "Starting make..."
30   rm -rf "$srcdir/$_svnmod-build"
31   mkdir "$srcdir/$_svnmod-build"
32   cd "$srcdir/$_svnmod-build"
34   #
35   # BUILD
36   #
37   cmake -DCMAKE_INSTALL_PREFIX=/usr ../$_svnmod/
38   make || return 1
39   make DESTDIR="$pkgdir/" install