# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0:
#Packager: JRD <jrd@enialis.net>
#Former Packager(s): Richard Lapointe <richard@laprjns.com>

pkgname=remmina-plugins
pkgver=0.9.2
pkgrel=2cp
#arch=noarch
source=(http://downloads.sourceforge.net/project/remmina/$(echo $pkgver|cut -d. -f1-2)/$pkgname-$pkgver.tar.gz)
sourcetemplate=http://enialis.net/~jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://remmina.sourceforge.net/index.shtml

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (plugins for remmina)"
)

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 -j $numjobs || return 1
  make install DESTDIR=$startdir/pkg || return 1
}