Template
1
0
Fork 0
mirror of https://aur.archlinux.org/pacwrap-git.git synced 2024-11-23 12:56:29 +00:00

Formatting

This commit is contained in:
Xavier Moffett 2024-10-12 01:15:03 -04:00
parent 965aa961b2
commit bc7d77fa4f
Signed by: Sapphirus
GPG key ID: A6C061B2CEA1A7AC

View file

@ -9,8 +9,15 @@ pkgdesc="Facilitates the creation, management, and execution of unprivileged Arc
arch=('x86_64')
url="https://pacwrap.sapphirus.org/"
license=('GPLv3-only')
makedepends=('cargo' 'busybox' 'fakechroot' 'fakeroot' 'git' 'libalpm.so>=14' 'pacman' 'zstd')
source=("$_pkgname::git+https://github.com/pacwrap/pacwrap.git")
makedepends=('cargo'
'busybox'
'fakechroot'
'fakeroot'
'git'
'libalpm.so=15'
'pacman'
'zstd')
md5sums=('SKIP')
options=('!lto')
@ -35,11 +42,17 @@ build() {
package_pacwrap-git() {
provides=("${_pkgname}")
conflicts=("${_pkgname}")
depends=('bash' 'bubblewrap' 'gnupg' 'libalpm.so>=14' 'libseccomp' 'pacman' "pacwrap-dist-git=$pkgver" 'zstd')
depends=('bash'
'bubblewrap'
'gnupg'
'libalpm.so>=14'
'libseccomp'
'pacman'
"pacwrap-dist-git=$pkgver"
'zstd')
optdepends=('xdg-dbus-proxy')
cd "${_pkgbase}"
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"
@ -53,11 +66,11 @@ package_pacwrap-dist-git() {
conflicts=("${_pkgname}-dist")
cd "${_pkgbase}"
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"
install -Dm 644 "dist/bin/filesystem.dat" "${pkgdir}/usr/share/${_pkgname}/filesystem.dat"
cp -r "dist/runtime" "${pkgdir}/usr/share/${_pkgname}/"
}
# vim:set ts=4 sw=4 et:1