aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-feeds/APKBUILD
blob: aeff26ac74198f640bcf258fa528593d7192a1e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-feeds
pkgver=0.13.4
pkgrel=0
pkgdesc="An RSS/Atom feed reader for GNOME"
url="https://gitlab.gnome.org/World/gfeeds"
arch="noarch"
license="GPL-3.0-or-later"
depends="py3-html5lib webkit2gtk py3-lxml py3-requests py3-feedparser gtk+3.0
	py3-beautifulsoup4 py3-listparser py3-tz py3-readability"
makedepends="meson gettext glib-dev gobject-introspection-dev gtk+3.0-dev"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/gfeeds/-/archive/$pkgver/gfeeds-$pkgver.tar.gz
	dont-require-py3-gettext.patch"
builddir="$srcdir/gfeeds-$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="df0328c403fcfb171bbda130afc4c2e58f18b7bbcbbea5ffa845719f29a48a6b6fed672e3580e2fc5c50e22977d85e1050323f596358c0cf0ca59ddfd569934e  gfeeds-0.13.4.tar.gz
ac1d2f0293693a25d57a5b5517a971e9c8865885618d937f77bdd4d4ea0b2e1033b7df00f78b5e3c9c8414fb9c1e90df81d45b59f9b327a63466e2ebf317603f  dont-require-py3-gettext.patch"