updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / libqq-pidgin-svn / PKGBUILD
blobfee1d30756a0a26c736f67b16917bb5ad18a6b7f
1 # Contributor: Havanna <havanna.sha{at}gmail{dot}com>
3 pkgname=libqq-pidgin-svn
4 pkgver=195
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/libqq-pidgin/"
8 pkgdesc="Latest QQ 2010 protocol for pidgin"
9 license=('GPLv3')
10 depends=('libpurple')
11 makedepends=('libpurple')
12 conflicts=('libqq-pidgin' 'libqq')
13 provides=('libqq-pidgin' 'libqq')
14 options=('!libtool')
16 _svntrunk=http://libqq-pidgin.googlecode.com/svn/trunk/
17 _svnmod=libqq-pidgin
19 build() {
20   cd $srcdir/
21   msg "Getting source..."
22   if [ -d $_svnmod/.svn ]; then
23     (cd $_svnmod && svn --config-dir ../ up -r $pkgver && cd ..)
24   else
25     svn --config-dir ./ co $_svntrunk  -r $pkgver $_svnmod
26   fi
28   msg "SVN checkout done or server timeout"
30   rm -rf $_svnmod-build
31   cp -r $_svnmod $_svnmod-build
33   msg "Starting make..."
34   cd $_svnmod-build
35   chmod +x autogen.sh
36   ./autogen.sh
37   ./configure --prefix=/usr --sysconfdir=/etc
38   make
40 package(){
41   cd $_svnmod-build
42   make DESTDIR="$pkgdir" install