[arch-commits] Commit in gnome-sudoku/repos (2 files)

Jan Steffens heftig at archlinux.org
Wed Mar 14 20:29:26 UTC 2018


    Date: Wednesday, March 14, 2018 @ 20:29:25
  Author: heftig
Revision: 319108

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gnome-sudoku/repos/gnome-unstable-x86_64/
  gnome-sudoku/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 319107, gnome-sudoku/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: gnome-sudoku/repos/gnome-unstable-x86_64/PKGBUILD (from rev 319107, gnome-sudoku/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2018-03-14 20:29:25 UTC (rev 319108)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-sudoku
+pkgver=3.28.0+6+g46f2f85
+pkgrel=1
+pkgdesc="Test your logic skills in this number grid puzzle"
+url="https://wiki.gnome.org/Apps/Sudoku"
+arch=(x86_64)
+license=(GPL)
+depends=(dconf gtk3 qqwing libgee json-glib)
+makedepends=(intltool itstool vala yelp-tools autoconf-archive appstream-glib git)
+groups=(gnome-extra)
+_commit=46f2f854549439955fc4075a9c61123164219ba0  # gnome-3-28
+source=("git+https://git.gnome.org/browse/gnome-sudoku#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  git tag -f 3.24.0 4a2a4dd7308e4152869d1f7846eda51d59283049
+
+  # Work around aclocal exiting with "too many loops"
+  mkdir m4
+  cp /usr/share/aclocal/ax_require_defined.m4 m4
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+
+  sed -i 's_#! /usr/bin/python_#!/usr/bin/python2_' "$pkgdir/usr/bin/gnome-sudoku"
+}



More information about the arch-commits mailing list