[arch-commits] Commit in newsflash (3 files)
Balló György
bgyorgy at archlinux.org
Sun Apr 18 09:08:55 UTC 2021
Date: Sunday, April 18, 2021 @ 09:08:54
Author: bgyorgy
Revision: 919900
archrelease: copy trunk to community-x86_64
Added:
newsflash/repos/
newsflash/repos/community-x86_64/
newsflash/repos/community-x86_64/PKGBUILD
(from rev 919899, newsflash/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: newsflash/repos/community-x86_64/PKGBUILD (from rev 919899, newsflash/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2021-04-18 09:08:54 UTC (rev 919900)
@@ -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