Template
1
0
Fork 0
mirror of https://aur.archlinux.org/pacwrap-git.git synced 2024-12-26 22:56:57 -05: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
pkgdesc = Facilitates the creation, management, and execution of unprivileged Arch-based bubblewrap containers.
pkgver = 0.8.1.r6.6168fef
pkgdesc = A package manager which facilitates Arch-based bubblewrap containers.
pkgver = 0.8.6.r10.33dd491
pkgrel = 1
url = https://pacwrap.sapphirus.org/
arch = x86_64
@ -10,7 +10,7 @@ pkgbase = pacwrap-git
makedepends = fakechroot
makedepends = fakeroot
makedepends = git
makedepends = libalpm.so>=14
makedepends = libalpm.so=15
makedepends = pacman
makedepends = zstd
options = !lto
@ -24,7 +24,7 @@ pkgname = pacwrap-git
depends = libalpm.so>=14
depends = libseccomp
depends = pacman
depends = pacwrap-dist-git=0.8.1.r6.6168fef
depends = pacwrap-dist-git=0.8.6.r10.33dd491
depends = zstd
optdepends = xdg-dbus-proxy
provides = pacwrap

View file

@ -2,10 +2,9 @@
_pkgname=pacwrap
pkgname=('pacwrap-git' 'pacwrap-dist-git')
pkgver=0.8.1.r6.6168fef
pkgver=0.8.6.r10.33dd491
pkgrel=1
_pkgbase=$_pkgname
pkgdesc="Facilitates the creation, management, and execution of unprivileged Arch-based bubblewrap containers."
pkgdesc="A package manager which facilitates Arch-based bubblewrap containers."
arch=('x86_64')
url="https://pacwrap.sapphirus.org/"
license=('GPLv3-only')
@ -22,18 +21,18 @@ md5sums=('SKIP')
options=('!lto')
pkgver() {
cd $_pkgbase
cd "${_pkgname}"
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
}
prepare() {
cd "${_pkgbase}"
cd "${_pkgname}"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu" \
&& ./dist/tools/prepare.sh release
}
build() {
cd "${_pkgbase}"
cd "${_pkgname}"
PACWRAP_SCHEMA_BUILT=1 \
cargo build --release --frozen \
&& ./dist/tools/package.sh release
@ -52,7 +51,7 @@ package_pacwrap-git() {
'zstd')
optdepends=('xdg-dbus-proxy')
cd "${_pkgbase}"
cd "${_pkgname}"
install -d "${pkgdir}/usr/share/${_pkgname}"
install -Dm 755 "target/release/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm 755 "dist/bin/${_pkgname}-key" "${pkgdir}/usr/bin/${_pkgname}-key"
@ -65,7 +64,7 @@ package_pacwrap-dist-git() {
provides=("${_pkgname}-dist")
conflicts=("${_pkgname}-dist")
cd "${_pkgbase}"
cd "${_pkgname}"
install -dD 755 "${pkgdir}/usr/share/${_pkgname}/"
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"