[arch-commits] Commit in gnome-recipes/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun Mar 8 13:05:41 UTC 2020


    Date: Sunday, March 8, 2020 @ 13:05:33
  Author: bgyorgy
Revision: 591970

upgpkg: gnome-recipes 2.0.4-1: Update to new version

Modified:
  gnome-recipes/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 13:05:05 UTC (rev 591969)
+++ PKGBUILD	2020-03-08 13:05:33 UTC (rev 591970)
@@ -1,8 +1,8 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=gnome-recipes
-pkgver=2.0.2
-pkgrel=4
+pkgver=2.0.4
+pkgrel=1
 pkgdesc="Recipe management application for GNOME"
 arch=(x86_64)
 url="https://wiki.gnome.org/Apps/Recipes"
@@ -10,21 +10,21 @@
 groups=(gnome-extra)
 depends=(gnome-autoar gnome-online-accounts gspell libcanberra libsoup)
 makedepends=(git itstool meson)
-source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
-sha256sums=('1be9d2fcb7404a97aa029d2409880643f15071c37039247a6a4320e7478cd5fb')
+_commit=d5e9733c49ea4f99e72c065c05ee1a35ef65e67d  # tags/2.0.4^0
+source=("git+https://gitlab.gnome.org/GNOME/recipes.git#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd recipes
+  git describe --tags | sed 's/-/+/g'
+}
+
 prepare() {
   mkdir build
-  cd $pkgname-$pkgver
-
-  # Don't use legacy path for AppStream metainfo file
-  # https://gitlab.gnome.org/GNOME/recipes/issues/54
-  sed -i "s/install_dir: join_paths(\[datadir,'appdata'\])/install_dir: join_paths([datadir,'metainfo'])/
-          s|'../po'|join_paths (meson.source_root (), 'po')|" data/meson.build
 }
 
 build() {
-  arch-meson $pkgname-$pkgver build
+  arch-meson recipes build
   ninja -C build
 }
 



More information about the arch-commits mailing list