diff options
author | Haochen Tong | 2023-03-20 00:13:10 +0800 |
---|---|---|
committer | Haochen Tong | 2023-03-20 00:13:10 +0800 |
commit | 1a7ea590e2fbcaa7e8d85fcbc9f154e05834dcb5 (patch) | |
tree | ecc7931580e55465be0c2b3b6d276918ac94dcc1 /PKGBUILD | |
download | aur-1a7ea590e2fbcaa7e8d85fcbc9f154e05834dcb5.tar.gz |
addpkg
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a1f40cd710b4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: hexchain <arch at hexchain.org> + +pkgname=libkrun +pkgver=1.5.1 +pkgrel=1 +pkgdesc="A dynamic library providing Virtualization-based process isolation capabilities" +url='https://github.com/containers/libkrun' +arch=('x86_64') +license=('Apache') +makedepends=('cargo' 'patchelf') +depends=('glibc' 'gcc-libs' 'libkrunfw') +source=("https://github.com/containers/libkrun/archive/refs/tags/v1.5.1/$pkgname-$pkgver.tar.gz") + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" PREFIX=/usr LIBDIR_Linux=lib install +} +sha256sums=('dd2ac590bfa5f238b06f1ec0a8acdd92316e2ffc2d7e261a0ad802d0849677b6') |