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

Balló György bgyorgy at archlinux.org
Sun Apr 18 10:24:48 UTC 2021


    Date: Sunday, April 18, 2021 @ 10:24:48
  Author: bgyorgy
Revision: 919905

upgpkg: newsflash 1.4.0-3: Remove xdg-utils dependency

Modified:
  newsflash/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-18 10:06:46 UTC (rev 919904)
+++ PKGBUILD	2021-04-18 10:24:48 UTC (rev 919905)
@@ -4,16 +4,22 @@
 pkgname=newsflash
 _pkgname=news_flash_gtk
 pkgver=1.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Desktop application designed to complement an already existing web-based RSS reader account'
 arch=('x86_64')
 url='https://gitlab.com/news-flash/news_flash_gtk'
 license=('GPL3')
-depends=('libhandy' 'webkit2gtk' 'xdg-utils')
+depends=('libhandy' 'webkit2gtk')
 makedepends=('appstream-glib' 'meson' 'rust')
 source=("https://gitlab.com/news-flash/$_pkgname/-/archive/$pkgver/$_pkgname-$pkgver.tar.gz")
 sha256sums=('4cde5395e6056284decea863222295b041df45ede27e4236ab141a5758c978cd')
 
+prepare() {
+  cd $_pkgname-$pkgver
+  # Update open to avoid xdg-utils dependency
+  sed -i 's/open = "1.4.0"/open = "1.7.0"/' Cargo.toml
+}
+
 build() {
   export FEEDLY_CLIENT_ID="boutroue"
   export FEEDLY_CLIENT_SECRET="FE012EGICU4ZOBDRBEOVAJA1JZYH"



More information about the arch-commits mailing list