#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=gnustep-back
pkgver=0.22.0
pkgrel=1gv
source=("ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-$pkgver.tar.gz")
docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "announce")
url=http://www.gnustep.org/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gnustep-back (GNUStep generic backend)"
"GNUStep-back provides a generic backend for GNUStep applications."
)


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

	# fix wrong file ownerships
	chown -R root:root $startdir/pkg
}