blob: e7c6007bfb25e31e01976247fd024cff4abe8227 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer Cookie Engineer <@cookiengineer>
pkgname=simple-chroot-git
pkgver=r89.edda14f
pkgrel=1
pkgdesc="Simple chroot environment manager"
arch=(any)
url=https://github.com/mh5/simple-chroot
license=( "BSD" )
depends=('bash')
options=('!emptydirs')
source=("git+https://github.com/mh5/simple-chroot.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/simple-chroot"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/simple-chroot"
mkdir -p "{$pkgdir}/usr/bin";
install -Dm755 "${srcdir}/simple-chroot/simple-chroot.sh" "${pkgdir}/usr/bin/simple-chroot";
}
|