blob: 8b4bb064afc87cd862a945a8f7d1d52ac82688cd (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Gabriele Musco <gabmus@disroot.org>
# Upstream URL: https://gitlab.com/gabmus/gnome-feeds
pkgname=gfeeds-git
pkgver=0.16.1.r0.gda4dc2d
pkgrel=1
pkgdesc='News reader for GNOME'
arch=('any')
url='https://gitlab.com/gabmus/gnome-feeds'
license=('GPL3')
depends=(
'gtk3'
'python'
'python-pytz'
'python-dateutil'
'python-pillow'
'libhandy>=0.83'
'python-listparser'
'python-feedparser'
'python-requests'
'python-lxml'
'webkit2gtk'
'python-html5lib'
'python-gobject'
'gobject-introspection'
'python-readability-lxml'
'python-pygments'
'python-beautifulsoup4'
)
replaces=(gnome-feeds gnome-feeds-git)
makedepends=('git' 'meson')
provides=('gfeeds' 'gnome-feeds')
conflicts=('gnome-feeds' 'gnome-feeds-git' 'gfeeds')
source=("gfeeds::git+https://gitlab.gnome.org/World/gfeeds")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/gfeeds"
git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/gfeeds"
rm -rf build
mkdir build
cd build
meson --prefix /usr --buildtype release ..
ninja
}
package() {
cd "$srcdir/gfeeds"
cd build
DESTDIR="$pkgdir" ninja install
}
|