[arch-commits] Commit in gnome-mines/repos (3 files)
Jan Steffens
heftig at archlinux.org
Wed Mar 14 18:59:44 UTC 2018
Date: Wednesday, March 14, 2018 @ 18:59:43
Author: heftig
Revision: 319027
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gnome-mines/repos/gnome-unstable-x86_64/
gnome-mines/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 319026, gnome-mines/trunk/PKGBUILD)
gnome-mines/repos/gnome-unstable-x86_64/icon-fixes.diff
(from rev 319026, gnome-mines/trunk/icon-fixes.diff)
-----------------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
icon-fixes.diff | 10 ++++++++++
2 files changed, 53 insertions(+)
Copied: gnome-mines/repos/gnome-unstable-x86_64/PKGBUILD (from rev 319026, gnome-mines/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-03-14 18:59:43 UTC (rev 319027)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-mines
+pkgver=3.28.0+3+g1a1f835
+pkgrel=1
+pkgdesc="Clear hidden mines from a minefield"
+url="https://wiki.gnome.org/Apps/Mines"
+arch=(x86_64)
+license=(GPL)
+depends=(gtk3 librsvg libgnome-games-support)
+makedepends=(itstool gobject-introspection yelp-tools appstream-glib vala git meson)
+groups=(gnome-extra)
+_commit=1a1f835f5ae191d5aa228caf0829fe6a4136392b # master
+source=("git+https://git.gnome.org/browse/gnome-mines#commit=$_commit"
+ icon-fixes.diff)
+sha256sums=('SKIP'
+ '8f8667d9d6fe5ad9d789c1842653ae0b49b9eaa82b378d6ee7b7e2a8abffae57')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ patch -Np1 -i ../icon-fixes.diff
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
Copied: gnome-mines/repos/gnome-unstable-x86_64/icon-fixes.diff (from rev 319026, gnome-mines/trunk/icon-fixes.diff)
===================================================================
--- gnome-unstable-x86_64/icon-fixes.diff (rev 0)
+++ gnome-unstable-x86_64/icon-fixes.diff 2018-03-14 18:59:43 UTC (rev 319027)
@@ -0,0 +1,10 @@
+diff --git i/data/meson.build w/data/meson.build
+index 781dc9e..c18c617 100644
+--- i/data/meson.build
++++ w/data/meson.build
+@@ -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
More information about the arch-commits
mailing list