Date: Friday, October 2, 2020 @ 16:43:26 Author: foxboron Revision: 715504
archrelease: copy trunk to community-x86_64 Added: toolbox/repos/community-x86_64/PKGBUILD (from rev 715503, toolbox/trunk/PKGBUILD) Deleted: toolbox/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 73 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 34 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-02 16:43:18 UTC (rev 715503) +++ PKGBUILD 2020-10-02 16:43:26 UTC (rev 715504) @@ -1,39 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Maintainer: Morten Linderud <foxbo...@archlinux.org> - -pkgname=toolbox -pkgver=0.0.95 -pkgrel=2 -pkgdesc='Unprivileged development environment' -arch=(x86_64) -url='https://github.com/containers/toolbox' -license=(APACHE) -depends=(podman bash) -makedepends=(go shellcheck go-md2man bash-completion ninja git meson) -_commit=b3f0a50652ededa49fdcb73ca7a343beed9538bb #refs/tags/0.0.95^{} -source=("git+$url#commit=$_commit") -sha256sums=('SKIP') - -prepare() { - cd toolbox - git cherry-pick -n 9840ca55a126b332f45f3fc9fbb22552e1fe2d3f -} - -pkgver() { - cd toolbox - git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' -} - -build() { - export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - export CGO_LDFLAGS="${LDFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - arch-meson toolbox build -D profile_dir=/etc/profile.d - ninja -C build -} - -package() { - DESTDIR="$pkgdir" ninja -C build install -} Copied: toolbox/repos/community-x86_64/PKGBUILD (from rev 715503, toolbox/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-02 16:43:26 UTC (rev 715504) @@ -0,0 +1,34 @@ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Maintainer: Morten Linderud <foxbo...@archlinux.org> + +pkgname=toolbox +pkgver=0.0.96 +pkgrel=1 +pkgdesc='Unprivileged development environment' +arch=(x86_64) +url='https://github.com/containers/toolbox' +license=(APACHE) +depends=(podman bash flatpak) +makedepends=(go shellcheck go-md2man bash-completion ninja git meson) +_commit=03c69894dffae348e6b24086af298e4f5036a89a #refs/tags/0.0.96^{} +source=("git+$url#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd toolbox + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" + export CGO_LDFLAGS="${LDFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + arch-meson toolbox build -D profile_dir=/etc/profile.d + ninja -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +}