[arch-commits] Commit in evolution-rss/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sat Apr 17 18:33:27 UTC 2021


    Date: Saturday, April 17, 2021 @ 18:33:26
  Author: bgyorgy
Revision: 919811

Minor changes

Modified:
  evolution-rss/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-17 18:26:27 UTC (rev 919810)
+++ PKGBUILD	2021-04-17 18:33:26 UTC (rev 919811)
@@ -10,18 +10,12 @@
 url='https://gnome.eu.org/index.php/Evolution_RSS_Reader_Plugin'
 license=('GPL')
 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')
+makedepends=('intltool')
+source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('af84de0aead5c4b018601227190066e3c1482f6828fdfac0b621670a989787db')
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^EVOLUTION_RSS_//;s/_/./g;s/-/+/g'
-}
-
 prepare() {
-  cd $pkgname
+  cd $pkgname-$pkgver
 
   # Don't check for unused GConf
   sed -i '/GCONF/d' configure.ac
@@ -29,11 +23,11 @@
   # Hide desktop file, it's not expected to be shown
   sed -i 's/#NoDisplay=true/NoDisplay=true/' evolution-rss.desktop.in.in
 
-  NOCONFIGURE=1 ./autogen.sh
+  autoreconf -fi
 }
 
 build() {
-  cd $pkgname
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --disable-schemas-compile
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -40,6 +34,6 @@
 }
 
 package() {
-  cd $pkgname
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list