[arch-commits] Commit in evolution-rss/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sun Mar 8 12:51:25 UTC 2020
Date: Sunday, March 8, 2020 @ 12:51:24
Author: bgyorgy
Revision: 591945
upgpkg: evolution-rss 0.3.96-1: Update to new version
Modified:
evolution-rss/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++--------------------
1 file changed, 21 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-08 12:39:16 UTC (rev 591944)
+++ PKGBUILD 2020-03-08 12:51:24 UTC (rev 591945)
@@ -3,34 +3,31 @@
# Contributor: Borromini <gotleenucks at g-male dot com>
pkgname=evolution-rss
-pkgver=0.3.95
-pkgrel=7
+pkgver=0.3.96
+pkgrel=1
pkgdesc="Plugin for Evolution Mail that enables reading of RSS/RDF/ATOM feeds"
arch=('x86_64')
url="https://gnome.eu.org/index.php/Evolution_RSS_Reader_Plugin"
license=('GPL')
-depends=('evolution')
-makedepends=('intltool')
-source=(https://gnome.eu.org/$pkgname-$pkgver.tar.xz
- evo-3.21.90.patch
- evo-3.23.2.patch)
-sha256sums=('3fb28eec798b3192ae155b92d17b852264d0e5e35185a4f0c8f526a8d587eb1f'
- '36ed895fcdd6c71998af1ab6b315e6f1ca027f56466c8844920761711e5589ef'
- 'b7a5977a5d27321420eac22cb346735338444cb6f4b4805f07d7502f241b29dc')
+depends=(evolution)
+makedepends=(intltool git gnome-common)
+_commit=696f57c5451ccf425dcca57e796feded788417dc # tags/EVOLUTION_RSS_0_3_96^0
+source=("git+https://gitlab.gnome.org/GNOME/evolution-rss.git#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^EVOLUTION_RSS_//;s/_/./g;s/-/+/g'
+}
+
prepare() {
- cd $pkgname-$pkgver
- # Compatibility patches from Fedora
- patch -Np1 -i ../evo-3.21.90.patch
- patch -Np1 -i ../evo-3.23.2.patch
-
- # Don't use legacy path for AppStream metainfo file
- # https://gitlab.gnome.org/GNOME/evolution-rss/merge_requests/3
- sed -i 's|$(datadir)/appdata|$(datadir)/metainfo|' Makefile.{in,am}
+ cd $pkgname
+ sed -i '/GCONF/d' configure.ac
+ NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-schemas-compile
@@ -40,7 +37,11 @@
make
}
+check() {
+ make -C $pkgname check
+}
+
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list