# Contributor: rubicon <rubicon@mailo.com>
# Maintainer: rubicon <rubicon@mailo.com>
pkgname=arachsys-containers
pkgver=1.7
pkgrel=0
pkgdesc="Lightweight containers using Linux user namespaces"
url="https://github.com/arachsys/containers"
arch="all"
license="MIT"
makedepends="linux-headers"
options="!check suid"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/arachsys/containers/archive/refs/tags/containers-$pkgver.tar.gz"
builddir="$srcdir/containers-containers-$pkgver"

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install

	install -Dvm644 README TIPS COPYING \
		-t "$pkgdir"/usr/share/doc/$pkgname
}

sha512sums="
864255909eab55f698969e48f7150f5005a65401cbd95988f780f309b50116d4a5e1c4aebc706d73b783c3a36b900dab16d8c54c4b2b8c92d977649a4f15ad93  arachsys-containers-1.7.tar.gz
"
