#Maintainer: Dimitris Tzemos  <djemos~at~slackel~dot~gr>

pkgname=gsimplecal
pkgver=1.6
pkgrel=1dj
source=("https://github.com/downloads/dmedvinsky/$pkgname/$pkgname-$pkgver.tar.gz")
url=http://dmedvinsky.github.com/gsimplecal/
docs=("AUTHORS" "README" "NEWS" "COPYING" "ChangeLog")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gsimplecal (Simple and lightweight GTK calendar)"
"gsimplecal is a lightweight calendar application written in C++ using" 
"GTK2. It was intentionally made for use with tint2 panel in the" 
"openbox environment to be launched upon clock click, but of course it" 
"will work without it."
""
"Homepage: http://dmedvinsky.github.com/gsimplecal/"
)

build() {

cd $SRC/$pkgname-$pkgver

./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --build=$arch-slackware-linux || return 1
  
make || return 1
make install DESTDIR=$PKG || return 1
}