[arch-commits] Commit in (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Wed Jan 23 18:27:18 UTC 2019
Date: Wednesday, January 23, 2019 @ 18:27:17
Author: bpiotrowski
Revision: 427300
newpkg: slirp4netns 0.2.0-1
Added:
slirp4netns/
slirp4netns/repos/
slirp4netns/trunk/
slirp4netns/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: slirp4netns/trunk/PKGBUILD
===================================================================
--- slirp4netns/trunk/PKGBUILD (rev 0)
+++ slirp4netns/trunk/PKGBUILD 2019-01-23 18:27:17 UTC (rev 427300)
@@ -0,0 +1,28 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=slirp4netns
+pkgdesc='User-mode networking for unprivileged network namespaces'
+pkgver=0.2.0
+pkgrel=1
+arch=(x86_64)
+url="https://github.com/rootless-containers/$pkgname"
+license=(GPL2)
+depends=(glibc)
+source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
+sha256sums=('12e52a05d96d92539df05607f85e47ff701540d8c0dbbdf32a47c3cf2e98da92')
+
+prepare() {
+ cd $pkgname-$pkgver
+ autoreconf -fi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list