[arch-commits] Commit in waybar/trunk (PKGBUILD)

Brett Cornwall ainola at archlinux.org
Mon Nov 30 05:06:48 UTC 2020


    Date: Monday, November 30, 2020 @ 05:06:47
  Author: ainola
Revision: 766525

Apply upstream MPD crash patch until next version is released

https://github.com/Alexays/Waybar/issues/775
https://github.com/Alexays/Waybar/pull/887

Modified:
  waybar/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-30 04:29:15 UTC (rev 766524)
+++ PKGBUILD	2020-11-30 05:06:47 UTC (rev 766525)
@@ -3,7 +3,7 @@
 
 pkgname=waybar
 pkgver=0.9.4
-pkgrel=3
+pkgrel=4
 pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors'
 arch=('x86_64')
 url="https://github.com/Alexays/Waybar/"
@@ -35,9 +35,17 @@
 )
 source=(
     "$pkgname-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz"
+    "fix_mpd.patch::https://github.com/Alexays/Waybar/pull/887/commits/8f961ac3976048d7a389d77737d9694f26fe863d.patch"
 )
-sha256sums=('d49c09ee253ca9cc9688d1b4d8602adc9bdae613b02e2fa1a2e7277ddc9e82e8')
+sha256sums=('d49c09ee253ca9cc9688d1b4d8602adc9bdae613b02e2fa1a2e7277ddc9e82e8'
+            '0e67d924c9e9cd62609a20ba3f9b9bfebfca23573024a54d0190245df3235c12')
 
+prepare() {
+    cd "Waybar-$pkgver"
+    # https://github.com/Alexays/Waybar/issues/775
+    patch -p1 < ../fix_mpd.patch
+}
+
 build() {
     cd "Waybar-$pkgver"
     arch-meson build



More information about the arch-commits mailing list