# vim: set syn=sh ai et sw=2 st=2 ts=2 tw=0:
#Packager: JRD <jrd@enialis.net>

pkgname=gajim
pkgver=0.14.4
pkgrel=1cp
source=(http://www.$pkgname.org/downloads/$(echo $pkgver|cut -d. -f1-2)/$pkgname-$pkgver.tar.gz)
sourcetemplate=http://enialis.net/~jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/
docs=("authors" "install" "readme" "copying")
url=http://trac.gajim.org/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (a GTK2+ Jabber/XMPP client)"
"The goal of Gajim is to provide a full featured and easy to use"
"Jabber client."
"Gajim works nicely with GNOME, but does not require it to run."
"It is released under the GNU General Public License."
)

build() {
  cd $startdir/src/$pkgname-$pkgver || return 1
  ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux || return 1
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
}