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

Balló György bgyorgy at archlinux.org
Sun Apr 18 09:03:17 UTC 2021


    Date: Sunday, April 18, 2021 @ 09:03:16
  Author: bgyorgy
Revision: 919899

Move newsflash from AUR with 14 votes

Added:
  newsflash/
  newsflash/trunk/
  newsflash/trunk/PKGBUILD

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

Added: newsflash/trunk/PKGBUILD
===================================================================
--- newsflash/trunk/PKGBUILD	                        (rev 0)
+++ newsflash/trunk/PKGBUILD	2021-04-18 09:03:16 UTC (rev 919899)
@@ -0,0 +1,35 @@
+# 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"
+}



More information about the arch-commits mailing list