[arch-commits] Commit in gnome-sudoku/repos (4 files)
Jan de Groot
jgc at archlinux.org
Fri Sep 22 22:13:52 UTC 2017
Date: Friday, September 22, 2017 @ 22:13:51
Author: jgc
Revision: 306132
archrelease: copy trunk to gnome-unstable-x86_64, gnome-unstable-i686
Added:
gnome-sudoku/repos/gnome-unstable-i686/
gnome-sudoku/repos/gnome-unstable-i686/PKGBUILD
(from rev 306131, gnome-sudoku/trunk/PKGBUILD)
gnome-sudoku/repos/gnome-unstable-x86_64/
gnome-sudoku/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 306131, gnome-sudoku/trunk/PKGBUILD)
--------------------------------+
gnome-unstable-i686/PKGBUILD | 48 +++++++++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 48 +++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
Copied: gnome-sudoku/repos/gnome-unstable-i686/PKGBUILD (from rev 306131, gnome-sudoku/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2017-09-22 22:13:51 UTC (rev 306132)
@@ -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.26.0+6+g0ffe857
+pkgrel=1
+pkgdesc="Test your logic skills in this number grid puzzle"
+url="https://wiki.gnome.org/Apps/Sudoku"
+arch=(x86_64 i686)
+license=(GPL)
+depends=(dconf gtk3 qqwing libgee json-glib)
+makedepends=(intltool itstool vala yelp-tools autoconf-archive appstream-glib git)
+groups=(gnome-extra)
+_commit=0ffe857f43c912c32198aad13667defddea3019b # master
+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"
+}
Copied: gnome-sudoku/repos/gnome-unstable-x86_64/PKGBUILD (from rev 306131, gnome-sudoku/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2017-09-22 22:13:51 UTC (rev 306132)
@@ -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.26.0+6+g0ffe857
+pkgrel=1
+pkgdesc="Test your logic skills in this number grid puzzle"
+url="https://wiki.gnome.org/Apps/Sudoku"
+arch=(x86_64 i686)
+license=(GPL)
+depends=(dconf gtk3 qqwing libgee json-glib)
+makedepends=(intltool itstool vala yelp-tools autoconf-archive appstream-glib git)
+groups=(gnome-extra)
+_commit=0ffe857f43c912c32198aad13667defddea3019b # master
+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