# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

pkgname=chroottools
pkgver=20121128.6
pkgdesc='Chroot tools for Arch and Parabola package maintainers'
url='http://projects.parabolagnulinux.org/packages/chroottools.git/'
license=('GPL')

pkgrel=1
arch=('any')
conflicts=(devtools)
depends=(
	'arch-install-scripts' # for pacstrap, used to make chroots
	'curl' # used by checkpkg
)
source=("https://projects.parabolagnulinux.org/packages/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar")

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make PREFIX=/usr
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make PREFIX=/usr DESTDIR=${pkgdir} install
}

md5sums=('32f0cc7fe772a946d8184125011154e1')