[arch-commits] Commit in (toolbox toolbox/repos toolbox/trunk toolbox/trunk/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu Oct 10 13:40:41 UTC 2019
Date: Thursday, October 10, 2019 @ 13:40:41
Author: bpiotrowski
Revision: 514455
newpkg: toolbox 0.0.15-1
Added:
toolbox/
toolbox/repos/
toolbox/trunk/
toolbox/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: toolbox/trunk/PKGBUILD
===================================================================
--- toolbox/trunk/PKGBUILD (rev 0)
+++ toolbox/trunk/PKGBUILD 2019-10-10 13:40:41 UTC (rev 514455)
@@ -0,0 +1,28 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=toolbox
+pkgver=0.0.15
+pkgrel=1
+pkgdesc='Unprivileged development environment'
+arch=(any)
+url='https://github.com/containers/toolbox'
+license=(APACHE)
+depends=(podman bash)
+makedepends=(shellcheck go-md2man bash-completion ninja git meson)
+_commit=0ee5b592a2a82cbff0171405d782783e17f4f579
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd toolbox
+ git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ arch-meson toolbox build -D profile_dir=/etc/profile.d
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
More information about the arch-commits
mailing list