summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5fb3a0a0d70b2f33a8ca727bd5fa4a57b63b96df (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
pkgname=charliecloud
pkgver=0.42
pkgrel=1
pkgdesc="A lightweight, fully unprivileged container implementation for HPC applications"
arch=('x86_64')
license=('Apache-2.0')
depends=(
    'python'
)
makedepends=(
    'bats'
    'cjson'
    'fuse3'
    'python-pip'
    'python-sphinx_rtd_theme'
    'shellcheck'
    'squashfuse'
    'squashfs-tools'
    'wget'
)
optdepends=(
    'bats: ch-test'
    'cjson: JSON features'
    'fuse3: ch-run internal SquashFS mounting'
    'git: ch-image using build cache'
    'nvidia-container-toolkit: ch-run inject nVidia GPU libraries'
    'rsync: ch-image using RSYNC instruction'
    'shellcheck: ch-test'
    'squashfs-tools: internal SquashFS mounting'
    'wget: ch-test'
)
source=("https://gitlab.com/charliecloud/charliecloud/-/archive/v${pkgver}/charliecloud-v${pkgver}.tar.gz")
sha1sums=('c814d33c0086a78a2fc156ee3fbaa0de01817e7c')
url="https://charliecloud.io/"

build() {
    cd ${pkgname}-v${pkgver}
    ./autogen.sh
    ./configure --prefix=/usr
    make
}

package() {
    cd ${pkgname}-v${pkgver}
    make DESTDIR=${pkgdir} install
}