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

pkgname=slkbuild
pkgver=0.9.0
pkgrel=1gv
arch=noarch
source=(slkbuild-$pkgver.tar.xz)
options=('tgz' 'nosrcpack')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"slkbuild (arch-like wrapper script for easy packaging)"
"slkbuild is a script inspired by makepkg from Arch which greatly"
"simplifies the package building process in Slackware and derivatives."
"It parses an easy to create SLKBUILD meta-file and from that creates"
"slackware packages."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --sysconfdir=/etc/slkbuild --mandir=/usr/man --docdir=/usr/doc/slkbuild-$pkgver
	make
	make install DESTDIR=$startdir/pkg
}