#Packager: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=leafpad
pkgver=0.8.18.1
pkgrel=1gv
source=("http://savannah.nongnu.org/download/leafpad/leafpad-$pkgver.tar.gz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://tarot.freeshell.org/leafpad/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"leafpad (GTK+ based simple text editor)"
"Leafpad is a simple GTK+ text editor that emphasizes simplicity. As"
"development focuses on keeping weight down to a minimum, only the most"
"essential features are implemented in the editor. Leafpad is simple to"
"use, is easily compiled, requires few libraries, and starts up"
"quickly."
)


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