summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele Musco2021-11-29 20:27:24 +0100
committerGabriele Musco2021-11-29 20:27:24 +0100
commit603d8970ffffcd768b747cdbc0d9e49f71ce378b (patch)
tree5a9714310875f6e9ec2d15974081e02adfc74433
parentf00f66443f06704b62ab012d3720f4bdbcb677cc (diff)
downloadaur-603d8970ffffcd768b747cdbc0d9e49f71ce378b.tar.gz
updated build script and dependencies
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD29
2 files changed, 18 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b0ad612d894..7fb0ce35b4f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,29 +1,28 @@
pkgbase = gfeeds-git
pkgdesc = News reader for GNOME
- pkgver = 0.16.2.r0.g01e4df4
+ pkgver = 0.16.2.r167.g807ceb0
pkgrel = 1
url = https://gitlab.com/gabmus/gnome-feeds
arch = any
license = GPL3
makedepends = git
makedepends = meson
- depends = gtk3
+ depends = gtk4
depends = python
depends = python-pytz
depends = python-dateutil
depends = python-pillow
- depends = libhandy>=0.83
- depends = python-listparser
- depends = python-feedparser
+ depends = libadwaita-git
depends = python-requests
depends = python-lxml
- depends = webkit2gtk
+ depends = webkit2gtk-5.0
depends = python-html5lib
depends = python-gobject
depends = gobject-introspection
depends = python-readability-lxml
depends = python-pygments
depends = python-beautifulsoup4
+ depends = python-syndom-git
provides = gfeeds
provides = gnome-feeds
conflicts = gnome-feeds
@@ -35,4 +34,3 @@ pkgbase = gfeeds-git
sha256sums = SKIP
pkgname = gfeeds-git
-
diff --git a/PKGBUILD b/PKGBUILD
index aaf2c4ee0e2..023e3982ab1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,30 +2,29 @@
# Upstream URL: https://gitlab.com/gabmus/gnome-feeds
pkgname=gfeeds-git
-pkgver=0.16.2.r0.g01e4df4
+pkgver=0.16.2.r167.g807ceb0
pkgrel=1
pkgdesc='News reader for GNOME'
arch=('any')
url='https://gitlab.com/gabmus/gnome-feeds'
license=('GPL3')
depends=(
- 'gtk3'
+ 'gtk4'
'python'
'python-pytz'
'python-dateutil'
'python-pillow'
- 'libhandy>=0.83'
- 'python-listparser'
- 'python-feedparser'
+ 'libadwaita-git'
'python-requests'
'python-lxml'
- 'webkit2gtk'
+ 'webkit2gtk-5.0'
'python-html5lib'
'python-gobject'
'gobject-introspection'
'python-readability-lxml'
'python-pygments'
'python-beautifulsoup4'
+ 'python-syndom-git'
)
replaces=(gnome-feeds gnome-feeds-git)
makedepends=('git' 'meson')
@@ -35,21 +34,19 @@ source=("gfeeds::git+https://gitlab.gnome.org/World/gfeeds")
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/gfeeds"
+ cd "$srcdir/${pkgname%-git}"
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
+ arch-meson "${pkgname%-git}" build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
}
package() {
- cd "$srcdir/gfeeds"
- cd build
- DESTDIR="$pkgdir" ninja install
+ meson install -C build --destdir "$pkgdir"
}