# Maintainer: Balló György # Contributor: Andrew O'Neill # Contributor: poisonby # Contributor: Jason Scurtu (scujas) # Contributor: Marcin Tydelski # Contributor: Jan Lukas Gernert (JeanLuc) # ALARM: Kevin Mihelich # - patch to fix finding libcurl on arm pkgname=feedreader _pkgname=FeedReader pkgver=2.6.1 pkgrel=2 pkgdesc="Modern desktop application designed to complement existing web-based RSS accounts" arch=(x86_64) url="https://jangernert.github.io/FeedReader/" license=(GPL3) depends=(curl gnome-keyring gnome-online-accounts gumbo-parser libgee libpeas) makedepends=(git gobject-introspection meson vala) _commit=3cc7df1812ddbd484ac1493d178d1ad58b389d4b # tags/v2.6.1 source=("git+https://github.com/jangernert/$_pkgname#commit=$_commit" '0001-fix-finding-curl.patch') sha256sums=('SKIP' 'e6a2c27346d8679d11c09890ad38971ea640254537a3b2ac12beb84f393d04ef') pkgver() { cd $_pkgname git describe --tags | sed 's/^v//;s/-/+/g' } prepare() { cd $_pkgname patch -p1 -i ../0001-fix-finding-curl.patch } prepare() { cd $_pkgname # Don't use legacy path for AppStream metainfo file # https://github.com/jangernert/FeedReader/pull/822 sed -i "s/install_dir: join_paths(SHARE_DIR, 'appdata')/install_dir: join_paths(SHARE_DIR, 'metainfo')/" data/meson.build } build() { arch-meson $_pkgname build ninja -C build } package() { DESTDIR="$pkgdir" ninja -C build install }