# Maintainer: graysky pkgname=clean-chroot-manager pkgver=2.211 pkgrel=1 pkgdesc='Wrapper for managing clean chroot builds with local repo therein.' arch=('any') url='https://github.com/graysky2/clean-chroot-manager' license=('MIT') depends=('devtools>=20190821-1' 'rsync' 'libarchive>=3.3.3' 'pacman>=5.2') conflicts=('clean_chroot_manager') replaces=('clean_chroot_manager') source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/clean-chroot-manager/archive/v$pkgver.tar.gz") b2sums=('883ffcf5ea09a5a93b0a3c183613a2012c51b2816c25ee9b30885120e51754c0c53887d04a3dd15dc178128ea799578afd56d3b8b96160ad2660da58000ef672') install=ccm.install build() { cd "$pkgname-$pkgver" make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }