blob: 42f9a4aae62a1d7651ff6d297c306102f5b71322 (
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
26
27
28
29
30
31
32
|
# Maintainer:
# Contributor: aksr <aksr at t-com dot me>
pkgname=jchroot-git
pkgver=1.1.r1.g645c309
pkgrel=1
pkgdesc="A chroot with more isolation."
arch=('x86_64')
url="https://github.com/vincentbernat/jchroot"
license=('ISC')
makedepends=('git')
source=("git+${url}")
md5sums=('SKIP')
provides=('jchroot')
conflicts=('jchroot')
pkgver() {
cd jchroot
git describe --long --tags | sed -e 's/^v//;s/-/.r/;s/-/./'
}
build() {
cd jchroot
make
}
package() {
cd jchroot
install -Dm755 jchroot "$pkgdir/usr/bin/jchroot"
install -Dm644 jchroot.8 "$pkgdir/usr/share/man/man8/jchroot.8"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|