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

Jan de Groot jgc at nymeria.archlinux.org
Tue Sep 24 23:42:23 UTC 2013


    Date: Wednesday, September 25, 2013 @ 01:42:23
  Author: jgc
Revision: 195089

archrelease: copy trunk to gnome-unstable-any

Added:
  gnome-sudoku/repos/gnome-unstable-any/
  gnome-sudoku/repos/gnome-unstable-any/PKGBUILD
    (from rev 195088, gnome-sudoku/trunk/PKGBUILD)
  gnome-sudoku/repos/gnome-unstable-any/gnome-sudoku.install
    (from rev 195088, gnome-sudoku/trunk/gnome-sudoku.install)

----------------------+
 PKGBUILD             |   34 ++++++++++++++++++++++++++++++++++
 gnome-sudoku.install |   13 +++++++++++++
 2 files changed, 47 insertions(+)

Copied: gnome-sudoku/repos/gnome-unstable-any/PKGBUILD (from rev 195088, gnome-sudoku/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD	                        (rev 0)
+++ gnome-unstable-any/PKGBUILD	2013-09-24 23:42:23 UTC (rev 195089)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-sudoku
+pkgver=3.10.0
+pkgrel=1
+pkgdesc="Test your logic skills in this number grid puzzle"
+arch=('any')
+license=('GPL')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'python2-gobject' 'dconf')
+makedepends=('intltool' 'itstool')
+conflicts=('gnome-games')
+replaces=('gnome-games')
+options=('!emptydirs' '!libtool')
+install=gnome-sudoku.install
+url="https://live.gnome.org/GnomeSudoku"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('4795e5fc7fe252aece6fb55fd64a73ec60014e4bcfb8c750e976ac5151dc419f')
+
+build() {
+  cd $pkgname-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  sed -i 's_#! /usr/bin/env python_#!/usr/bin/env python2_' "$pkgdir/usr/bin/gnome-sudoku"
+}

Copied: gnome-sudoku/repos/gnome-unstable-any/gnome-sudoku.install (from rev 195088, gnome-sudoku/trunk/gnome-sudoku.install)
===================================================================
--- gnome-unstable-any/gnome-sudoku.install	                        (rev 0)
+++ gnome-unstable-any/gnome-sudoku.install	2013-09-24 23:42:23 UTC (rev 195089)
@@ -0,0 +1,13 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -f -q usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list