[arch-commits] Commit in five-or-more/repos (6 files)

Jan de Groot jgc at nymeria.archlinux.org
Tue Sep 24 11:31:30 UTC 2013


    Date: Tuesday, September 24, 2013 @ 13:31:30
  Author: jgc
Revision: 194976

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  five-or-more/repos/gnome-unstable-i686/
  five-or-more/repos/gnome-unstable-i686/PKGBUILD
    (from rev 194975, five-or-more/trunk/PKGBUILD)
  five-or-more/repos/gnome-unstable-i686/five-or-more.install
    (from rev 194975, five-or-more/trunk/five-or-more.install)
  five-or-more/repos/gnome-unstable-x86_64/
  five-or-more/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 194975, five-or-more/trunk/PKGBUILD)
  five-or-more/repos/gnome-unstable-x86_64/five-or-more.install
    (from rev 194975, five-or-more/trunk/five-or-more.install)

--------------------------------------------+
 gnome-unstable-i686/PKGBUILD               |   36 +++++++++++++++++++++++++++
 gnome-unstable-i686/five-or-more.install   |   35 ++++++++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD             |   36 +++++++++++++++++++++++++++
 gnome-unstable-x86_64/five-or-more.install |   35 ++++++++++++++++++++++++++
 4 files changed, 142 insertions(+)

Copied: five-or-more/repos/gnome-unstable-i686/PKGBUILD (from rev 194975, five-or-more/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2013-09-24 11:31:30 UTC (rev 194976)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=five-or-more
+pkgver=3.10.0
+pkgrel=1
+pkgdesc="Remove colored balls from the board by forming lines"
+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=five-or-more.install
+url="https://live.gnome.org/Five%20or%20more"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('4198d713a2e29e4c1e5493cfb3880acee295d486e2f5b4d3c4780b154cad3a07')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+      --disable-schemas-compile \
+      --with-scores-user=root --with-scores-group=games
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # Remove all scores, we generate them from postinstall
+  rm -rf "$pkgdir/var"
+}

Copied: five-or-more/repos/gnome-unstable-i686/five-or-more.install (from rev 194975, five-or-more/trunk/five-or-more.install)
===================================================================
--- gnome-unstable-i686/five-or-more.install	                        (rev 0)
+++ gnome-unstable-i686/five-or-more.install	2013-09-24 11:31:30 UTC (rev 194976)
@@ -0,0 +1,35 @@
+_scores=(
+	glines.Small.scores
+	glines.Medium.scores
+	glines.Large.scores
+)
+
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -f usr/share/icons/hicolor
+
+  for score in "${_scores[@]}" ; do
+    if [ -e "var/games/$score" ]; then
+      continue
+    fi
+
+    touch "var/games/$score"
+    chown root:games "var/games/$score"
+    chmod 664 "var/games/$score"
+  done
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -f usr/share/icons/hicolor
+
+  for score in "${_scores[@]}" ; do
+    rm -f "var/games/$score"
+  done
+}

Copied: five-or-more/repos/gnome-unstable-x86_64/PKGBUILD (from rev 194975, five-or-more/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2013-09-24 11:31:30 UTC (rev 194976)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=five-or-more
+pkgver=3.10.0
+pkgrel=1
+pkgdesc="Remove colored balls from the board by forming lines"
+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=five-or-more.install
+url="https://live.gnome.org/Five%20or%20more"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('4198d713a2e29e4c1e5493cfb3880acee295d486e2f5b4d3c4780b154cad3a07')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+      --disable-schemas-compile \
+      --with-scores-user=root --with-scores-group=games
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # Remove all scores, we generate them from postinstall
+  rm -rf "$pkgdir/var"
+}

Copied: five-or-more/repos/gnome-unstable-x86_64/five-or-more.install (from rev 194975, five-or-more/trunk/five-or-more.install)
===================================================================
--- gnome-unstable-x86_64/five-or-more.install	                        (rev 0)
+++ gnome-unstable-x86_64/five-or-more.install	2013-09-24 11:31:30 UTC (rev 194976)
@@ -0,0 +1,35 @@
+_scores=(
+	glines.Small.scores
+	glines.Medium.scores
+	glines.Large.scores
+)
+
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -f usr/share/icons/hicolor
+
+  for score in "${_scores[@]}" ; do
+    if [ -e "var/games/$score" ]; then
+      continue
+    fi
+
+    touch "var/games/$score"
+    chown root:games "var/games/$score"
+    chmod 664 "var/games/$score"
+  done
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -f usr/share/icons/hicolor
+
+  for score in "${_scores[@]}" ; do
+    rm -f "var/games/$score"
+  done
+}




More information about the arch-commits mailing list