27 lines
785 B
Bash
27 lines
785 B
Bash
# Maintainer: graysky <graysky AT archlinux DOT us>
|
|
|
|
pkgname=clean-chroot-manager
|
|
pkgver=2.96
|
|
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>=20180528-1' 'rsync' 'libarchive>=3.3.3')
|
|
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")
|
|
sha256sums=('3bbe344f92914a490f61c6fcb95189f4c95dacee45da975bf9c530e8fe867806')
|
|
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"
|
|
}
|