Date: Saturday, April 29, 2023 @ 21:18:21
  Author: polyzen
Revision: 1454806

upgpkg: nemo-extensions 5.6.0-2: Fix build

Modified:
  nemo-extensions/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-29 21:15:08 UTC (rev 1454805)
+++ PKGBUILD    2023-04-29 21:18:21 UTC (rev 1454806)
@@ -18,7 +18,7 @@
         #nemo-media-columns pypdf2 in AUR but mostly unmaintained
         #nemo-repairer
 pkgver=5.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Various extensions for Nemo"
 arch=(x86_64)
 license=(GPL2)
@@ -25,17 +25,22 @@
 url="https://github.com/linuxmint/nemo-extensions";
 depends=(nemo)
 _preview_deps=(cjs clutter-gtk clutter-gst libmusicbrainz5 gtksourceview4 
xreader)
-_python_deps=(python-gobject)
+_python_deps=(python-gobject python-setuptools)
 _seahorse_deps=(libcryptui)
 makedepends=(intltool gobject-introspection meson samurai)
 makedepends+=("${_preview_deps[@]}" "${_python_deps[@]}" 
"${_seahorse_deps[@]}")
 options=(!emptydirs)
-source=(${url}/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz)
-sha256sums=('6c334b320541672b1c6ac8ec2ffade5a0eb413549fa680ccce56914055f537f0')
-b2sums=('49dd9683aeae036c042f791ff52d3bf12226034e07972ac150ffcfba34543a60b3776db6426429a37d404aa11c828b42b1fc28c5ba0180fce65674960d14bd4c')
+source=("${url}/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz"
+        
"$pkgbase-simplify_gpgme_lookup.patch::https://github.com/linuxmint/nemo-extensions/commit/601374dab4506c0e791cfbd1ecf5e9f1451c1660.patch";)
+sha256sums=('6c334b320541672b1c6ac8ec2ffade5a0eb413549fa680ccce56914055f537f0'
+            '0abe0e913558d3cebd3fd189628960a79af25cc9cd70faa238db2dca6d061711')
+b2sums=('49dd9683aeae036c042f791ff52d3bf12226034e07972ac150ffcfba34543a60b3776db6426429a37d404aa11c828b42b1fc28c5ba0180fce65674960d14bd4c'
+        
'29f31f5d5b0c925a86c386bcc559d420ca24ab69a1a9d8d82265153617689e319d2b70e07a5c6205d76546ec5f05aa545ae40b6a79823559aef3afff885b25e8')
 
 prepare() {
-  rm -r $pkgbase-$pkgver/*/debian # Fix build with newer setuptools
+  cd $pkgbase-$pkgver
+  patch --forward --strip=1 --input=../$pkgbase-simplify_gpgme_lookup.patch
+  rm -r ./*/debian # Fix build with newer setuptools
 }
 
 build() {

Reply via email to