[arch-commits] Commit in gnome-mines/trunk (PKGBUILD icon-fixes.diff)

Jan Steffens heftig at archlinux.org
Wed Mar 14 18:48:40 UTC 2018


    Date: Wednesday, March 14, 2018 @ 18:48:28
  Author: heftig
Revision: 319021

3.28.0+3+g1a1f835-1

Modified:
  gnome-mines/trunk/PKGBUILD
  gnome-mines/trunk/icon-fixes.diff

-----------------+
 PKGBUILD        |   18 ++++++++++--------
 icon-fixes.diff |   10 ++--------
 2 files changed, 12 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-14 18:47:06 UTC (rev 319020)
+++ PKGBUILD	2018-03-14 18:48:28 UTC (rev 319021)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-mines
-pkgver=3.26.0+5+g7f5a1e5
+pkgver=3.28.0+3+g1a1f835
 pkgrel=1
 pkgdesc="Clear hidden mines from a minefield"
 url="https://wiki.gnome.org/Apps/Mines"
@@ -12,11 +12,11 @@
 depends=(gtk3 librsvg libgnome-games-support)
 makedepends=(itstool gobject-introspection yelp-tools appstream-glib vala git meson)
 groups=(gnome-extra)
-_commit=7f5a1e5c619325c17f378281c35bdd4b30534331  # master
+_commit=1a1f835f5ae191d5aa228caf0829fe6a4136392b  # master
 source=("git+https://git.gnome.org/browse/gnome-mines#commit=$_commit"
         icon-fixes.diff)
 sha256sums=('SKIP'
-            'cf44d54e432a6e9b46a052070287e9d018339b9a49393d727ce6a2d807688a54')
+            '8f8667d9d6fe5ad9d789c1842653ae0b49b9eaa82b378d6ee7b7e2a8abffae57')
 
 pkgver() {
   cd $pkgname
@@ -24,18 +24,20 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
   patch -Np1 -i ../icon-fixes.diff
 }
 
 build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
   cd build
-  meson setup --prefix=/usr --buildtype=release ../$pkgname
-  ninja
+  meson test
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" ninja -C build install
 }

Modified: icon-fixes.diff
===================================================================
--- icon-fixes.diff	2018-03-14 18:47:06 UTC (rev 319020)
+++ icon-fixes.diff	2018-03-14 18:48:28 UTC (rev 319021)
@@ -1,16 +1,10 @@
 diff --git i/data/meson.build w/data/meson.build
-index 1b3585c00bd34553..f862c7a877419409 100644
+index 781dc9e..c18c617 100644
 --- i/data/meson.build
 +++ w/data/meson.build
-@@ -1,9 +1,9 @@
+@@ -1,4 +1,4 @@
 -foreach size: [ '16x16', '22x22', '24x24', '32x32', '48x48' ]
 +foreach size: [ '16x16', '22x22', '24x24', '32x32', '48x48', '256x256' ]
      install_data (join_paths ('icons', 'hicolor', size, 'gnome-mines.png'),
                    install_dir: join_paths (datadir, 'icons', 'hicolor', size, 'apps'))
  endforeach
- install_data (join_paths ('icons', 'hicolor', 'scalable', 'gnome-mines-symbolic.svg'),
--              install_dir: join_paths (datadir, 'icons', 'hicolor', size, 'apps'))
-+              install_dir: join_paths (datadir, 'icons', 'hicolor', 'scalable', 'apps'))
- install_data ('flag-symbolic.svg',
-               install_dir: join_paths (datadir, 'icons', 'hicolor', '16x16', 'actions'))
- 



More information about the arch-commits mailing list