Date: Saturday, March 12, 2022 @ 21:52:31 Author: arojas Revision: 1150292
archrelease: copy trunk to community-x86_64 Added: newsflash/repos/community-x86_64/PKGBUILD (from rev 1150291, newsflash/trunk/PKGBUILD) Deleted: newsflash/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 79 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 37 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-12 21:52:27 UTC (rev 1150291) +++ PKGBUILD 2022-03-12 21:52:31 UTC (rev 1150292) @@ -1,42 +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.2 -pkgrel=1 -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=('099318a6bc57e5e695352b2f3c7dd149c9b889f39cb9cbd58dc3f10f41d4948d') - -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" - export RUSTC_BOOTSTRAP=1 - - 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 1150291, newsflash/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-12 21:52:31 UTC (rev 1150292) @@ -0,0 +1,37 @@ +# 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.5.1 +pkgrel=1 +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=('3177d072440df3d39eac7c4583252f2f3a4b601aa074b6c682de9eb4c456b11c') + +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" + export RUSTC_BOOTSTRAP=1 + + 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" + rm -r "$pkgdir"/build +}