1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

testing/ruri: new aport

This commit is contained in:
dabao1955 2025-04-10 20:24:55 +08:00 committed by mio
parent bc05d68569
commit 105aad165b

35
testing/ruri/APKBUILD Normal file
View file

@ -0,0 +1,35 @@
# Maintainer: dabao1955 <dabao1955@163.com>
pkgname=ruri
pkgver=3.8
pkgrel=0
pkgdesc="A self-contained Linux container implementation"
url="https://github.com/Moe-Hacker/ruri"
arch="all"
license="MIT"
options="!check" # Upstream have test but can not run in docker enviroment.
makedepends="
libcap-dev
libseccomp-dev
"
source="$pkgname-$pkgver.tar.gz::https://github.com/Moe-hacker/ruri/archive/refs/tags/v$pkgver.tar.gz"
subpackages="$pkgname-doc"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
install -Dm755 ruri -t "$pkgdir"/usr/bin/
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="
f563ec713a4b85d89ebc779f7ea1ad09ce74312793e8478d63336b204b3b9414789869b15cce539fc6bc08c8f3d7bd1ae884a7cd3b063251a7024093c4a11680 ruri-3.8.tar.gz
"