updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / pidgin-gfire-svn / PKGBUILD
blobd9594d3778def51ce0438dfea2e0439a202d1221
1 # Contributor:  Taylor Lookabaugh <jesus dot christ dot i dot love at gmail dot com>
2 # Maintainer: LookTJ
4 pkgname=pidgin-gfire-svn
5 pkgver=548
6 pkgrel=1
7 pkgdesc="Plugin to Pidgin which adds Xfire network support (Dev/svn tree)"
8 url="http://gfireproject.org/"
9 arch=('i686' 'x86_64')
10 license=('GPL3')
11 depends=('glib2' 'libpurple' 'libnotify' 'gtk2')
12 makedepends=('subversion' 'pkgconfig' 'intltool' 'libtool')
13 conflicts=('pidgin-gfire')
14 provides=('pidgin-gfire')
16 source=()
17 md5sums=()
19 _svntrunk=http://svn6.assembla.com/svn/gfire/trunk/
20 _svnmod=gfire
22 build() {
23   cd "$srcdir"
25   if [ -d "$_svnmod"/.svn ]; then
26     (cd "$_svnmod" && svn up -r "$pkgver")
27   else
28     svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
29   fi
31   msg "SVN checkout done or server timeout"
32   msg "Starting make..."
34   cp -r "$_svnmod" "$_svnmod"-build
35   cd "$_svnmod"-build
37   ./autogen.sh
38   ./configure --prefix=/usr --enable-libnotify
39   make
40   make DESTDIR="$pkgdir" install
42   rm -rf "$srcdir"/"$_svnmod"-build