[arch-commits] Commit in newsflash/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Sunday, April 18, 2021 @ 10:24:54
  Author: bgyorgy
Revision: 919906

archrelease: copy trunk to community-x86_64

Added:
  newsflash/repos/community-x86_64/PKGBUILD
    (from rev 919905, newsflash/trunk/PKGBUILD)
Deleted:
  newsflash/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 41 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-18 10:24:48 UTC (rev 919905)
+++ PKGBUILD	2021-04-18 10:24:54 UTC (rev 919906)
@@ -1,35 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Felix Bühler <account at buehler dot rocks>
-
-pkgname=newsflash
-_pkgname=news_flash_gtk
-pkgver=1.4.0
-pkgrel=2
-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')
-makedepends=('appstream-glib' 'meson' 'rust')
-source=("https://gitlab.com/news-flash/$_pkgname/-/archive/$pkgver/$_pkgname-$pkgver.tar.gz")
-sha256sums=('4cde5395e6056284decea863222295b041df45ede27e4236ab141a5758c978cd')
-
-build() {
-  export FEEDLY_CLIENT_ID="boutroue"
-  export FEEDLY_CLIENT_SECRET="FE012EGICU4ZOBDRBEOVAJA1JZYH"
-  export PASSWORD_CRYPT_KEY="ypsSXCLhJngks9qGUAqShd8JjRaZ824wT3e"
-  export MERCURY_PARSER_USER="newsflash"
-  export MERCURY_PARSER_KEY="R4qcKEHpr9RTq6YuRAPkm9kMhjp4GuxiWG44VDk3Na4ZsN7F"
-	
-  arch-meson $_pkgname-$pkgver build
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  DESTDIR="$pkgdir" meson install -C build
-  ln -s com.gitlab.newsflash "$pkgdir/usr/bin/$pkgname"
-}

Copied: newsflash/repos/community-x86_64/PKGBUILD (from rev 919905, newsflash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-18 10:24:54 UTC (rev 919906)
@@ -0,0 +1,41 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Felix Bühler <account at buehler dot rocks>
+
+pkgname=newsflash
+_pkgname=news_flash_gtk
+pkgver=1.4.0
+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')
+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"
+  export PASSWORD_CRYPT_KEY="ypsSXCLhJngks9qGUAqShd8JjRaZ824wT3e"
+  export MERCURY_PARSER_USER="newsflash"
+  export MERCURY_PARSER_KEY="R4qcKEHpr9RTq6YuRAPkm9kMhjp4GuxiWG44VDk3Na4ZsN7F"
+	
+  arch-meson $_pkgname-$pkgver build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  ln -s com.gitlab.newsflash "$pkgdir/usr/bin/$pkgname"
+}



More information about the arch-commits mailing list