summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed3213324b3163941a22b5204359382967d00ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Marco Rubin <marco.rubin@protonmail.com>

pkgname=lxroot
pkgver=0.22.1
pkgrel=1
pkgdesc='A lightweight, flexible, and safer alternative to chroot and/or Docker.'
arch=('x86_64')
url='https://github.com/parke/lxroot'
license=('GPL3')
source=("https://github.com/parke/lxroot/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('4eb7607b653bf952612f82ec994123598be0596db2e9fdb28d93ab978117327e')

build() {
    cd $pkgname-$pkgver
    make build
}

package() {
    cd $pkgname-$pkgver
    install -Dm755 bin/lxroot "$pkgdir/usr/bin/lxroot"
}