1
0
Fork 0
mirror of https://git.sapphirus.org/AUR/pacwrap-git.git synced 2024-12-22 02:53:35 +00:00

Bump to 0.8.6.r10.33dd491

This commit is contained in:
Xavier Moffett 2024-10-12 01:18:37 -04:00
parent bc7d77fa4f
commit 428d9acb34
Signed by: Sapphirus
GPG key ID: A6C061B2CEA1A7AC
2 changed files with 11 additions and 12 deletions

View file

@ -1,6 +1,6 @@
pkgbase = pacwrap-git pkgbase = pacwrap-git
pkgdesc = Facilitates the creation, management, and execution of unprivileged Arch-based bubblewrap containers. pkgdesc = A package manager which facilitates Arch-based bubblewrap containers.
pkgver = 0.8.1.r6.6168fef pkgver = 0.8.6.r10.33dd491
pkgrel = 1 pkgrel = 1
url = https://pacwrap.sapphirus.org/ url = https://pacwrap.sapphirus.org/
arch = x86_64 arch = x86_64
@ -10,7 +10,7 @@ pkgbase = pacwrap-git
makedepends = fakechroot makedepends = fakechroot
makedepends = fakeroot makedepends = fakeroot
makedepends = git makedepends = git
makedepends = libalpm.so>=14 makedepends = libalpm.so=15
makedepends = pacman makedepends = pacman
makedepends = zstd makedepends = zstd
options = !lto options = !lto
@ -24,7 +24,7 @@ pkgname = pacwrap-git
depends = libalpm.so>=14 depends = libalpm.so>=14
depends = libseccomp depends = libseccomp
depends = pacman depends = pacman
depends = pacwrap-dist-git=0.8.1.r6.6168fef depends = pacwrap-dist-git=0.8.6.r10.33dd491
depends = zstd depends = zstd
optdepends = xdg-dbus-proxy optdepends = xdg-dbus-proxy
provides = pacwrap provides = pacwrap

View file

@ -2,10 +2,9 @@
_pkgname=pacwrap _pkgname=pacwrap
pkgname=('pacwrap-git' 'pacwrap-dist-git') pkgname=('pacwrap-git' 'pacwrap-dist-git')
pkgver=0.8.1.r6.6168fef pkgver=0.8.6.r10.33dd491
pkgrel=1 pkgrel=1
_pkgbase=$_pkgname pkgdesc="A package manager which facilitates 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')
@ -22,18 +21,18 @@ md5sums=('SKIP')
options=('!lto') options=('!lto')
pkgver() { pkgver() {
cd $_pkgbase cd "${_pkgname}"
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')" echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
} }
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
@ -52,7 +51,7 @@ package_pacwrap-git() {
'zstd') '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}"
install -Dm 755 "dist/bin/${_pkgname}-key" "${pkgdir}/usr/bin/${_pkgname}-key" install -Dm 755 "dist/bin/${_pkgname}-key" "${pkgdir}/usr/bin/${_pkgname}-key"
@ -65,7 +64,7 @@ package_pacwrap-dist-git() {
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"
install -Dm 644 "dist/bin/filesystem.tar.zst" "${pkgdir}/usr/share/${_pkgname}/filesystem.tar.zst" install -Dm 644 "dist/bin/filesystem.tar.zst" "${pkgdir}/usr/share/${_pkgname}/filesystem.tar.zst"