[arch-commits] Commit in (5 files)

Jan de Groot jgc at nymeria.archlinux.org
Tue Apr 2 13:46:52 UTC 2013


    Date: Tuesday, April 2, 2013 @ 15:46:52
  Author: jgc
Revision: 181229

Add new game

Added:
  gnome-mahjongg/
  gnome-mahjongg/repos/
  gnome-mahjongg/trunk/
  gnome-mahjongg/trunk/PKGBUILD
  gnome-mahjongg/trunk/gnome-mahjongg.install

------------------------+
 PKGBUILD               |   32 ++++++++++++++++++++++++++++++++
 gnome-mahjongg.install |   13 +++++++++++++
 2 files changed, 45 insertions(+)

Added: gnome-mahjongg/trunk/PKGBUILD
===================================================================
--- gnome-mahjongg/trunk/PKGBUILD	                        (rev 0)
+++ gnome-mahjongg/trunk/PKGBUILD	2013-04-02 13:46:52 UTC (rev 181229)
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 168943 2012-10-16 16:31:44Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-mahjongg
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="Disassemble a pile of tiles by removing matching pairs"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg')
+makedepends=('intltool' 'itstool' 'gobject-introspection')
+conflicts=('gnome-games')
+replaces=('gnome-games')
+options=('!emptydirs' '!libtool')
+install=gnome-mahjongg.install
+url="https://live.gnome.org/Mahjongg"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('6995bfae4c145f07764a7825865804232e620bbdf57c0625d0a21d06561ad496')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+      --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Added: gnome-mahjongg/trunk/gnome-mahjongg.install
===================================================================
--- gnome-mahjongg/trunk/gnome-mahjongg.install	                        (rev 0)
+++ gnome-mahjongg/trunk/gnome-mahjongg.install	2013-04-02 13:46:52 UTC (rev 181229)
@@ -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