[arch-commits] Commit in bubblewrap/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Wed Jul 31 09:46:04 UTC 2019
Date: Wednesday, July 31, 2019 @ 09:46:03
Author: bpiotrowski
Revision: 358819
archrelease: copy trunk to extra-x86_64
Added:
bubblewrap/repos/extra-x86_64/PKGBUILD
(from rev 358818, bubblewrap/trunk/PKGBUILD)
Deleted:
bubblewrap/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 93 +++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 57 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-31 09:45:58 UTC (rev 358818)
+++ PKGBUILD 2019-07-31 09:46:03 UTC (rev 358819)
@@ -1,36 +0,0 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-
-pkgname=bubblewrap
-pkgver=0.3.3
-pkgrel=2
-pkgdesc='Unprivileged sandboxing tool'
-url='https://github.com/projectatomic/bubblewrap'
-arch=(x86_64)
-license=(GPL)
-depends=(glibc libcap)
-makedepends=(libxslt docbook-xsl git)
-_commit=bc13e228d172cc2385aa445b512c6bf8ca2f3376 # tags/v0.3.3^0
-source=(git+$url#commit=$_commit)
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe | sed 's/^v//'
-}
-
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
- ./configure --prefix=/usr \
- --with-priv-mode=none
- make
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: bubblewrap/repos/extra-x86_64/PKGBUILD (from rev 358818, bubblewrap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-31 09:46:03 UTC (rev 358819)
@@ -0,0 +1,57 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=(bubblewrap bubblewrap-suid)
+pkgver=0.3.3
+pkgrel=3
+pkgdesc='Unprivileged sandboxing tool'
+url='https://github.com/projectatomic/bubblewrap'
+arch=(x86_64)
+license=(GPL)
+depends=(glibc libcap)
+makedepends=(libxslt docbook-xsl git)
+_commit=bc13e228d172cc2385aa445b512c6bf8ca2f3376 # tags/v0.3.3^0
+source=(git+$url#commit=$_commit)
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgbase
+ git describe | sed 's/^v//'
+}
+
+prepare() {
+ cd $pkgbase
+ NOCONFIGURE=1 ./autogen.sh
+
+ cd "$srcdir"
+ cp -r ${pkgbase}{,-none}
+ cp -r ${pkgbase}{,-setuid}
+}
+
+_build() {
+ pushd ${pkgbase}-$1
+ ./configure --prefix=/usr \
+ --with-priv-mode=$1
+ make
+ popd
+}
+
+_install() {
+ make -C "$srcdir/${pkgbase}-$1" DESTDIR="$pkgdir" install
+}
+
+build() {
+ _build none
+ _build setuid
+}
+
+package_bubblewrap() {
+ _install none
+}
+
+package_bubblewrap-suid() {
+ pkgdesc+=" (setuid variant)"
+ provides=(bubblewrap)
+ conflicts=(bubblewrap)
+
+ _install setuid
+}
More information about the arch-commits
mailing list