[arch-commits] Commit in gnome-nibbles/repos (8 files)
Jan Steffens
heftig at nymeria.archlinux.org
Sun Apr 21 22:10:10 UTC 2013
Date: Monday, April 22, 2013 @ 00:10:10
Author: heftig
Revision: 183391
db-move: moved gnome-nibbles from [testing] to [extra] (i686, x86_64)
Added:
gnome-nibbles/repos/extra-i686/
gnome-nibbles/repos/extra-i686/PKGBUILD
(from rev 183326, gnome-nibbles/repos/testing-i686/PKGBUILD)
gnome-nibbles/repos/extra-i686/gnome-nibbles.install
(from rev 183326, gnome-nibbles/repos/testing-i686/gnome-nibbles.install)
gnome-nibbles/repos/extra-x86_64/
gnome-nibbles/repos/extra-x86_64/PKGBUILD
(from rev 183326, gnome-nibbles/repos/testing-x86_64/PKGBUILD)
gnome-nibbles/repos/extra-x86_64/gnome-nibbles.install
(from rev 183326, gnome-nibbles/repos/testing-x86_64/gnome-nibbles.install)
Deleted:
gnome-nibbles/repos/testing-i686/
gnome-nibbles/repos/testing-x86_64/
------------------------------------+
extra-i686/PKGBUILD | 36 +++++++++++++++++++++++++++++++
extra-i686/gnome-nibbles.install | 40 +++++++++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 36 +++++++++++++++++++++++++++++++
extra-x86_64/gnome-nibbles.install | 40 +++++++++++++++++++++++++++++++++++
4 files changed, 152 insertions(+)
Copied: gnome-nibbles/repos/extra-i686/PKGBUILD (from rev 183326, gnome-nibbles/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2013-04-21 22:10:10 UTC (rev 183391)
@@ -0,0 +1,36 @@
+# $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-nibbles
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="Guide a worm around a maze"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'clutter-gtk' 'libcanberra' 'librsvg')
+makedepends=('intltool' 'itstool' 'gobject-introspection')
+conflicts=('gnome-games')
+replaces=('gnome-games')
+options=('!emptydirs' '!libtool')
+install=gnome-nibbles.install
+url="https://live.gnome.org/Nibbles"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('bc1e4f687f1e794ef15a4162492154970300ac682378e59f9471327e5fd0d606')
+
+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: gnome-nibbles/repos/extra-i686/gnome-nibbles.install (from rev 183326, gnome-nibbles/repos/testing-i686/gnome-nibbles.install)
===================================================================
--- extra-i686/gnome-nibbles.install (rev 0)
+++ extra-i686/gnome-nibbles.install 2013-04-21 22:10:10 UTC (rev 183391)
@@ -0,0 +1,40 @@
+_scores=(
+ gnome-nibbles.1.0.scores
+ gnome-nibbles.2.0.scores
+ gnome-nibbles.3.0.scores
+ gnome-nibbles.4.0.scores
+ gnome-nibbles.1.1.scores
+ gnome-nibbles.2.1.scores
+ gnome-nibbles.3.1.scores
+ gnome-nibbles.4.1.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: gnome-nibbles/repos/extra-x86_64/PKGBUILD (from rev 183326, gnome-nibbles/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2013-04-21 22:10:10 UTC (rev 183391)
@@ -0,0 +1,36 @@
+# $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-nibbles
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="Guide a worm around a maze"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'clutter-gtk' 'libcanberra' 'librsvg')
+makedepends=('intltool' 'itstool' 'gobject-introspection')
+conflicts=('gnome-games')
+replaces=('gnome-games')
+options=('!emptydirs' '!libtool')
+install=gnome-nibbles.install
+url="https://live.gnome.org/Nibbles"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('bc1e4f687f1e794ef15a4162492154970300ac682378e59f9471327e5fd0d606')
+
+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: gnome-nibbles/repos/extra-x86_64/gnome-nibbles.install (from rev 183326, gnome-nibbles/repos/testing-x86_64/gnome-nibbles.install)
===================================================================
--- extra-x86_64/gnome-nibbles.install (rev 0)
+++ extra-x86_64/gnome-nibbles.install 2013-04-21 22:10:10 UTC (rev 183391)
@@ -0,0 +1,40 @@
+_scores=(
+ gnome-nibbles.1.0.scores
+ gnome-nibbles.2.0.scores
+ gnome-nibbles.3.0.scores
+ gnome-nibbles.4.0.scores
+ gnome-nibbles.1.1.scores
+ gnome-nibbles.2.1.scores
+ gnome-nibbles.3.1.scores
+ gnome-nibbles.4.1.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