# Maintainer: graysky pkgname=clean-chroot-manager pkgver=2.228 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>=1:1.0.0-1' 'rsync' 'libarchive>=3.3.3' 'pacman>=7.0.0-1') 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=('3ecfd2202f5c966cef097451ba05ff6c496e9c20aadafd13761c73714b3fc06a3e3c0489c74f20024186308afcce94268043876364063b7ac881990579162c29') 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" }