updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / quasselclient-git / PKGBUILD
blobd5cc179c1e5d915ab934e3cdcf6757704a087989
1 # Contributor: Teo Mrnjavac <teo.mrnjavac@gmail.com>
2 # Contributor: Edward Toroshchin <edward.hades gmail com>
3 pkgname='quasselclient-git'
4 pkgver=20100508
5 pkgrel=1
6 pkgdesc="A Qt4 IRC client with a separated core"
7 url="http://quassel-irc.org"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 depends=('qt')
11 makedepends=('git' 'cmake')
12 provides=('quassel')
13 conflicts=('quassel')
14 source=()
15 md5sums=()
17 _gitroot="git://git.quassel-irc.org/quassel.git"
18 #_gitroot="git://gitorious.org/~nullren/quassel/nullrens-quassel.git"
19 _gitname="quassel"
21 build() {
22     cd $startdir/src
24     msg "Connecting to the GIT server...."
25     if [ -d $_gitname ]; then
26         (cd $_gitname && git pull origin || return 1)
27     else
28         git clone $_gitroot || return 1
29     fi
31     rm -rf ${_gitname}-build
32     cp -r $_gitname ${_gitname}-build
33     cd ${_gitname}-build
35     msg "Starting build process."
36     cmake -DWANT_CORE=OFF -DWANT_MONO=OFF -DWITH_OPENSSL=ON -DWITH_WEBKIT=OFF -DCMAKE_INSTALL_PREFIX=/usr . || return 1
37     make || return 1
39     make DESTDIR=$startdir/pkg/ install