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

pkgname=salix-chroot-install
pkgver=0.1
pkgrel=1gv
arch=noarch
source=("$pkgname-$pkgver.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
options=('nosrcpack')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"salix-chroot-install (Script to install Salix in a chroot)"
"salix-chroot-install is a small bash script that can be used to"
"install a Salix iso in a custom directory in your system, which you"
"can access later through a chroot, preferably using the schroot tool."
)


build() {
	cd $startdir/src/$pkgname-$pkgver

	mkdir -p $startdir/pkg/usr/sbin
	cp salix-chroot-install $startdir/pkg/usr/sbin/
	chmod 755 $startdir/pkg/usr/sbin/salix-chroot-install
}