1
0
Fork 0
mirror of https://aur.archlinux.org/pacwrap.git synced 2024-11-21 21:46:29 +00:00

Bump to 0.8.1

- Pull from git tag instead tarball
This commit is contained in:
Xavier Moffett 2024-04-24 18:34:08 -04:00
parent 2e500f2a2c
commit db0fbe0e6c
Signed by: Sapphirus
GPG key ID: A6C061B2CEA1A7AC
2 changed files with 36 additions and 37 deletions

View file

@ -1,30 +1,30 @@
pkgbase = pacwrap pkgbase = pacwrap
pkgdesc = Facilitates the creation, management, and execution of unprivileged Arch-based bubblewrap containers. pkgdesc = Facilitates the creation, management, and execution of unprivileged Arch-based bubblewrap containers.
pkgver = 0.8.0 pkgver = 0.8.1
pkgrel = 1 pkgrel = 1
url = https://pacwrap.sapphirus.org/ url = https://pacwrap.sapphirus.org/
arch = x86_64 arch = x86_64
license = GPLv3-only license = GPLv3-only
makedepends = cargo makedepends = cargo
makedepends = git
makedepends = fakeroot
makedepends = pacman
makedepends = libalpm.so>=14
makedepends = zstd
makedepends = busybox makedepends = busybox
makedepends = fakechroot makedepends = fakechroot
makedepends = fakeroot
makedepends = git
makedepends = libalpm.so>=14
makedepends = pacman
makedepends = zstd
options = !lto options = !lto
source = pacwrap-0.8.0.tar.zst::https://github.com/pacwrap/pacwrap/releases/download/0.8.0/pacwrap-0.8.0.tar.zst source = pacwrap::git+https://github.com/pacwrap/pacwrap.git#tag=0.8.1
sha512sums = 832139cd18e276c46fed275e8d4b6bdf215ce14ab9d8cf39d1ffc93bde952028b2a9cb2c4b635170b3093ed0a6f8e46c1a9dd6874c54a283c0913c27c0df14e9 md5sums = SKIP
pkgname = pacwrap pkgname = pacwrap
depends = bash depends = bash
depends = bubblewrap depends = bubblewrap
depends = gnupg depends = gnupg
depends = pacman
depends = libalpm.so>=14 depends = libalpm.so>=14
depends = libseccomp depends = libseccomp
depends = pacwrap-dist=0.8.0 depends = pacman
depends = pacwrap-dist=0.8.1
depends = zstd depends = zstd
optdepends = xdg-dbus-proxy optdepends = xdg-dbus-proxy
provides = pacwrap provides = pacwrap

View file

@ -1,27 +1,26 @@
# Maintainer: Xavier R.M. (sapphirus at azorium dot net) # Maintainer: Xavier Moffett (sapphirus at azorium dot net)
_pkgname=pacwrap _pkgname=pacwrap
pkgname=('pacwrap' 'pacwrap-dist') pkgname=('pacwrap' 'pacwrap-dist')
pkgver=0.8.0 pkgver=0.8.1
pkgrel=1 pkgrel=1
_pkgbase=${pkgname}-${pkgver}
pkgdesc="Facilitates the creation, management, and execution of unprivileged Arch-based bubblewrap containers." pkgdesc="Facilitates the creation, management, and execution of unprivileged Arch-based bubblewrap containers."
arch=('x86_64') arch=('x86_64')
url="https://pacwrap.sapphirus.org/" url="https://pacwrap.sapphirus.org/"
license=('GPLv3-only') license=('GPLv3-only')
makedepends=('cargo' 'git' 'fakeroot' 'pacman' 'libalpm.so>=14' 'zstd' 'busybox' 'fakechroot') makedepends=('cargo' 'busybox' 'fakechroot' 'fakeroot' 'git' 'libalpm.so>=14' 'pacman' 'zstd')
source=("${_pkgbase}.tar.zst::https://github.com/pacwrap/pacwrap/releases/download/${pkgver}/${_pkgbase}.tar.zst") source=("$_pkgname::git+https://github.com/pacwrap/pacwrap.git#tag=${pkgver}")
sha512sums=('832139cd18e276c46fed275e8d4b6bdf215ce14ab9d8cf39d1ffc93bde952028b2a9cb2c4b635170b3093ed0a6f8e46c1a9dd6874c54a283c0913c27c0df14e9') md5sums=('SKIP')
options=('!lto') options=('!lto')
prepare() { prepare() {
cd "${_pkgbase}" cd "${_pkgname}"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu" \ cargo fetch --locked --target "$CARCH-unknown-linux-gnu" \
&& ./dist/tools/prepare.sh release && ./dist/tools/prepare.sh release
} }
build() { build() {
cd "${_pkgbase}" cd "${_pkgname}"
PACWRAP_SCHEMA_BUILT=1 \ PACWRAP_SCHEMA_BUILT=1 \
cargo build --release --frozen \ cargo build --release --frozen \
&& ./dist/tools/package.sh release && ./dist/tools/package.sh release
@ -30,10 +29,10 @@ build() {
package_pacwrap() { package_pacwrap() {
provides=("${_pkgname}") provides=("${_pkgname}")
conflicts=("${_pkgname}") conflicts=("${_pkgname}")
depends=('bash' 'bubblewrap' 'gnupg' 'pacman' 'libalpm.so>=14' 'libseccomp' "pacwrap-dist=$pkgver" 'zstd') depends=('bash' 'bubblewrap' 'gnupg' 'libalpm.so>=14' 'libseccomp' 'pacman' "pacwrap-dist=$pkgver" 'zstd')
optdepends=('xdg-dbus-proxy') optdepends=('xdg-dbus-proxy')
cd "${_pkgbase}" cd "${_pkgname}"
install -d "${pkgdir}/usr/share/${_pkgname}" install -d "${pkgdir}/usr/share/${_pkgname}"
install -Dm 755 "target/release/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" install -Dm 755 "target/release/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
@ -47,7 +46,7 @@ package_pacwrap-dist() {
provides=("${_pkgname}-dist") provides=("${_pkgname}-dist")
conflicts=("${_pkgname}-dist") conflicts=("${_pkgname}-dist")
cd "${_pkgbase}" cd "${_pkgname}"
install -dD 755 "${pkgdir}/usr/share/${_pkgname}/" install -dD 755 "${pkgdir}/usr/share/${_pkgname}/"
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}-dist/LICENSE" install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}-dist/LICENSE"