Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
distrobox


Commits:
996bd45a by Robin Candau at 2024-02-05T19:37:54+01:00
upgpkg: 1.6.0.1-2: Add a patch to fix #1092 upstream issue + Switch license to 
SPDX identifier
Fixes https://github.com/89luca89/distrobox/issues/1092

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,13 +1,16 @@
 pkgbase = distrobox
        pkgdesc = Use any linux distribution inside your terminal.
        pkgver = 1.6.0.1
-       pkgrel = 1
+       pkgrel = 2
        url = https://distrobox.it
        arch = any
-       license = GPL3
+       license = GPL-3.0-only
+       depends = bash
        optdepends = docker: Docker support
        optdepends = podman: Podman support
        source = 
distrobox-1.6.0.1.tar.gz::https://github.com/89luca89/distrobox/archive/1.6.0.1.tar.gz
+       source = 
fix-sudo-root-passwd.patch::https://github.com/89luca89/distrobox/commit/3b1e312f884cad2185c3b57dcde470a5d7914c61.patch
        sha256sums = 
d6b1330b56f6a1bf844c26a27d87f39efd8ae088ed3063f6513d48cf9c18f57e
+       sha256sums = 
9bc5c67be3a0a1adf70dc27fd5d19ba00ecdcfc44fbeaa36b153c0b7dfe23b88
 
 pkgname = distrobox


=====================================
PKGBUILD
=====================================
@@ -3,15 +3,24 @@
 
 pkgname=distrobox
 pkgver=1.6.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Use any linux distribution inside your terminal."
 arch=('any')
 url="https://distrobox.it";
-license=('GPL3')
+license=('GPL-3.0-only')
+depends=('bash')
 optdepends=('docker: Docker support'
            'podman: Podman support')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/89luca89/distrobox/archive/${pkgver}.tar.gz";)
-sha256sums=('d6b1330b56f6a1bf844c26a27d87f39efd8ae088ed3063f6513d48cf9c18f57e')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/89luca89/distrobox/archive/${pkgver}.tar.gz";
+       
"fix-sudo-root-passwd.patch::https://github.com/89luca89/distrobox/commit/3b1e312f884cad2185c3b57dcde470a5d7914c61.patch";)
+sha256sums=('d6b1330b56f6a1bf844c26a27d87f39efd8ae088ed3063f6513d48cf9c18f57e'
+            '9bc5c67be3a0a1adf70dc27fd5d19ba00ecdcfc44fbeaa36b153c0b7dfe23b88')
+
+prepare() {
+       cd "${pkgname}-${pkgver}"
+       # Temporary patch to fix 
https://github.com/89luca89/distrobox/issues/1092
+       patch -Np1 <${srcdir}/fix-sudo-root-passwd.patch
+}
 
 package() {
        cd "${pkgname}-${pkgver}"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/distrobox/-/commit/996bd45a0678bf5d5a1dbb65dd763f873cb6baaf

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/distrobox/-/commit/996bd45a0678bf5d5a1dbb65dd763f873cb6baaf
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to