Date: Thursday, November 12, 2020 @ 21:21:26
  Author: maximbaz
Revision: 753766

upgpkg: wofi 1.2.2-2

Modified:
  wofi/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-11-12 21:13:35 UTC (rev 753765)
+++ PKGBUILD    2020-11-12 21:21:26 UTC (rev 753766)
@@ -3,7 +3,7 @@
 
 pkgname=wofi
 pkgver=1.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc='launcher for wlroots-based wayland compositors'
 arch=('x86_64')
 url='https://hg.sr.ht/~scoopta/wofi'
@@ -10,11 +10,18 @@
 license=('GPL3')
 depends=('wayland' 'gtk3')
 makedepends=('meson')
-source=("${pkgname}-v${pkgver}.tar.gz::https://hg.sr.ht/~scoopta/wofi/archive/v${pkgver}.tar.gz";)
+source=("${pkgname}-v${pkgver}.tar.gz::https://hg.sr.ht/~scoopta/wofi/archive/v${pkgver}.tar.gz";
+        
"68600.patch::https://hg.sr.ht/~scoopta/wofi/rev/ea517e724b07716986fd2c6a6e321e1b5cb08682.patch";)
 # We have to SKIP the validity check to avoid an issue with hg.sr.ht:
 # https://todo.sr.ht/~sircmpwn/hg.sr.ht/33
-sha256sums=('SKIP')
+sha256sums=('SKIP'
+            '3bab36a854fd104dfffad25a5bac23ae55ce5c9f1d55eb161d616ee4f505c539')
 
+prepare() {
+    cd "${pkgname}-v${pkgver}"
+    patch -Np1 -i "${srcdir}/68600.patch"
+}
+
 build() {
     cd "${pkgname}-v${pkgver}"
     meson build

Reply via email to