[arch-commits] Commit in aisleriot/repos (4 files)

Ionut Biru ibiru at archlinux.org
Sat Oct 1 14:55:38 EDT 2011


    Date: Saturday, October 1, 2011 @ 14:55:37
  Author: ibiru
Revision: 139215

db-move: moved aisleriot from [testing] to [extra] (x86_64)

Added:
  aisleriot/repos/extra-x86_64/
  aisleriot/repos/extra-x86_64/PKGBUILD
    (from rev 139207, aisleriot/repos/testing-x86_64/PKGBUILD)
  aisleriot/repos/extra-x86_64/aisleriot.install
    (from rev 139207, aisleriot/repos/testing-x86_64/aisleriot.install)
Deleted:
  aisleriot/repos/testing-x86_64/

-------------------+
 PKGBUILD          |   36 ++++++++++++++++++++++++++++++++++++
 aisleriot.install |   22 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)

Copied: aisleriot/repos/extra-x86_64/PKGBUILD (from rev 139207, aisleriot/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2011-10-01 18:55:37 UTC (rev 139215)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+
+pkgname=aisleriot
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="GNOME Solitaire card games"
+arch=(i686 x86_64)
+license=(GPL)
+url="http://www.gnome.org"
+groups=('gnome-extra')
+depends=(libsm gconf guile libcanberra librsvg hicolor-icon-theme dconf)
+makedepends=(gnome-doc-utils intltool itstool)
+options=('!emptydirs' '!libtool')
+install=aisleriot.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('dba561dc35641cb393626151cf048f407c47960c7a254f378b986ab95d899d85')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --disable-static
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+
+  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain aisleriot ${pkgdir}/etc/gconf/schemas/*.schemas
+  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}

Copied: aisleriot/repos/extra-x86_64/aisleriot.install (from rev 139207, aisleriot/repos/testing-x86_64/aisleriot.install)
===================================================================
--- extra-x86_64/aisleriot.install	                        (rev 0)
+++ extra-x86_64/aisleriot.install	2011-10-01 18:55:37 UTC (rev 139215)
@@ -0,0 +1,22 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  usr/sbin/gconfpkg --install aisleriot
+}
+
+pre_upgrade() {
+  pre_remove
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall aisleriot
+}
+
+post_remove() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
+}



More information about the arch-commits mailing list