[arch-commits] Commit in gnome-recipes/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Mon Dec 24 19:07:35 UTC 2018


    Date: Monday, December 24, 2018 @ 19:07:34
  Author: bgyorgy
Revision: 417849

archrelease: copy trunk to community-x86_64

Added:
  gnome-recipes/repos/community-x86_64/PKGBUILD
    (from rev 417848, gnome-recipes/trunk/PKGBUILD)
Deleted:
  gnome-recipes/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-24 19:07:30 UTC (rev 417848)
+++ PKGBUILD	2018-12-24 19:07:34 UTC (rev 417849)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=gnome-recipes
-pkgver=2.0.2
-pkgrel=2
-pkgdesc="Recipe management application for GNOME"
-arch=(x86_64)
-url="https://wiki.gnome.org/Apps/Recipes"
-license=(GPL3)
-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')
-
-prepare() {
-  mkdir build
-}
-
-build() {
-  cd build
-  meson --prefix=/usr --buildtype=release ../$pkgname-$pkgver
-  ninja
-}
-
-check() {
-  cd build
-  ninja test
-}
-
-package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-}

Copied: gnome-recipes/repos/community-x86_64/PKGBUILD (from rev 417848, gnome-recipes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-24 19:07:34 UTC (rev 417849)
@@ -0,0 +1,36 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=gnome-recipes
+pkgver=2.0.2
+pkgrel=3
+pkgdesc="Recipe management application for GNOME"
+arch=(x86_64)
+url="https://wiki.gnome.org/Apps/Recipes"
+license=(GPL3)
+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')
+
+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'])/" data/meson.build
+}
+
+build() {
+  arch-meson $pkgname-$pkgver build
+  ninja -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list