[arch-commits] Commit in bubblewrap/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Thu Oct 11 06:49:58 UTC 2018


    Date: Thursday, October 11, 2018 @ 06:49:57
  Author: bpiotrowski
Revision: 336119

archrelease: copy trunk to extra-x86_64

Added:
  bubblewrap/repos/extra-x86_64/PKGBUILD
    (from rev 336118, bubblewrap/trunk/PKGBUILD)
Deleted:
  bubblewrap/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   62 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 36 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-11 06:49:50 UTC (rev 336118)
+++ PKGBUILD	2018-10-11 06:49:57 UTC (rev 336119)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-
-pkgname=bubblewrap
-pkgver=0.3.0
-pkgrel=1
-pkgdesc='Unprivileged sandboxing tool'
-url='https://github.com/projectatomic/bubblewrap'
-arch=(x86_64)
-license=(GPL)
-depends=(glibc libcap)
-makedepends=(libxslt docbook-xsl)
-source=($url/releases/download/v$pkgver/bubblewrap-${pkgver}.tar.xz)
-sha256sums=('c8e52870b54a10235174775e03164b2a9253e19cb3a95b3e4bd9e2d84b9eaf2c')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr \
-    --with-priv-mode=setuid
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: bubblewrap/repos/extra-x86_64/PKGBUILD (from rev 336118, bubblewrap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-11 06:49:57 UTC (rev 336119)
@@ -0,0 +1,36 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=bubblewrap
+pkgver=0.3.1
+pkgrel=1
+pkgdesc='Unprivileged sandboxing tool'
+url='https://github.com/projectatomic/bubblewrap'
+arch=(x86_64)
+license=(GPL)
+depends=(glibc libcap)
+makedepends=(libxslt docbook-xsl git)
+_commit=e7b517f40956a153972fd61a2c6da1140f52990b  # tags/v0.3.1^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=setuid
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list