# Maintainer: graysky pkgname=clean-chroot-manager pkgver=2.223 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=('c98961d4cd6f790d1d779598f5d2f0af286f3db2a228e031e9e1b21ff2efd370091100a24b2309eeb81dd8a567f48d81b5bf6227ca78a57fd97177a66e24ee71') 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" }