arch-ppa/src/clean-chroot-manager/PKGBUILD

27 lines
785 B
Bash
Raw Normal View History

2017-03-29 08:42:49 -04:00
# Maintainer: graysky <graysky AT archlinux DOT us>
pkgname=clean-chroot-manager
2019-07-27 10:40:51 -04:00
pkgver=2.96
2017-03-29 08:42:49 -04:00
pkgrel=1
2019-07-27 10:40:51 -04:00
pkgdesc='Wrapper for managing clean chroot builds with local repo therein.'
2017-03-29 08:42:49 -04:00
arch=('any')
url='https://github.com/graysky2/clean-chroot-manager'
license=('MIT')
2019-07-27 10:40:51 -04:00
depends=('devtools>=20180528-1' 'rsync' 'libarchive>=3.3.3')
2017-03-29 08:42:49 -04:00
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")
2019-07-27 10:40:51 -04:00
sha256sums=('3bbe344f92914a490f61c6fcb95189f4c95dacee45da975bf9c530e8fe867806')
2017-03-29 08:42:49 -04:00
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"
}