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

Jan Steffens heftig at nymeria.archlinux.org
Tue Sep 24 19:21:58 UTC 2013


    Date: Tuesday, September 24, 2013 @ 21:21:57
  Author: heftig
Revision: 195052

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

Added:
  aisleriot/repos/gnome-unstable-i686/
  aisleriot/repos/gnome-unstable-i686/PKGBUILD
    (from rev 195051, aisleriot/trunk/PKGBUILD)
  aisleriot/repos/gnome-unstable-i686/aisleriot.install
    (from rev 195051, aisleriot/trunk/aisleriot.install)
  aisleriot/repos/gnome-unstable-x86_64/
  aisleriot/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 195051, aisleriot/trunk/PKGBUILD)
  aisleriot/repos/gnome-unstable-x86_64/aisleriot.install
    (from rev 195051, aisleriot/trunk/aisleriot.install)

-----------------------------------------+
 gnome-unstable-i686/PKGBUILD            |   44 ++++++++++++++++++++++++++++++
 gnome-unstable-i686/aisleriot.install   |   22 +++++++++++++++
 gnome-unstable-x86_64/PKGBUILD          |   44 ++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/aisleriot.install |   22 +++++++++++++++
 4 files changed, 132 insertions(+)

Copied: aisleriot/repos/gnome-unstable-i686/PKGBUILD (from rev 195051, aisleriot/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2013-09-24 19:21:57 UTC (rev 195052)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=aisleriot
+pkgver=3.10.0
+pkgrel=1
+pkgdesc="A collection of patience games written in guile scheme"
+arch=(i686 x86_64)
+license=(GPL)
+url="http://www.gnome.org"
+groups=('gnome-extra')
+depends=(guile gtk3 librsvg libcanberra gconf hicolor-icon-theme dconf)
+makedepends=(intltool itstool docbook-xsl yelp-tools desktop-file-utils)
+optdepends=('libkdegames: KDE card sets'
+            'pysolfc: PySol card sets'
+            'pysolfc-cardsets: PySol card sets')
+options=('!emptydirs' '!libtool')
+install=aisleriot.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('2b96e73fa2e3c75afc27b2a572c4175943fbaac015824a6f49c41bf479b26e02')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib --disable-static \
+    --with-card-theme-formats=all \
+    --with-kde-card-theme-path=/usr/share/apps/carddecks \
+    --with-pysol-card-theme-path=/usr/share/PySolFC
+
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+  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/gnome-unstable-i686/aisleriot.install (from rev 195051, aisleriot/trunk/aisleriot.install)
===================================================================
--- gnome-unstable-i686/aisleriot.install	                        (rev 0)
+++ gnome-unstable-i686/aisleriot.install	2013-09-24 19:21:57 UTC (rev 195052)
@@ -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
+}

Copied: aisleriot/repos/gnome-unstable-x86_64/PKGBUILD (from rev 195051, aisleriot/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2013-09-24 19:21:57 UTC (rev 195052)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=aisleriot
+pkgver=3.10.0
+pkgrel=1
+pkgdesc="A collection of patience games written in guile scheme"
+arch=(i686 x86_64)
+license=(GPL)
+url="http://www.gnome.org"
+groups=('gnome-extra')
+depends=(guile gtk3 librsvg libcanberra gconf hicolor-icon-theme dconf)
+makedepends=(intltool itstool docbook-xsl yelp-tools desktop-file-utils)
+optdepends=('libkdegames: KDE card sets'
+            'pysolfc: PySol card sets'
+            'pysolfc-cardsets: PySol card sets')
+options=('!emptydirs' '!libtool')
+install=aisleriot.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('2b96e73fa2e3c75afc27b2a572c4175943fbaac015824a6f49c41bf479b26e02')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib --disable-static \
+    --with-card-theme-formats=all \
+    --with-kde-card-theme-path=/usr/share/apps/carddecks \
+    --with-pysol-card-theme-path=/usr/share/PySolFC
+
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+  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/gnome-unstable-x86_64/aisleriot.install (from rev 195051, aisleriot/trunk/aisleriot.install)
===================================================================
--- gnome-unstable-x86_64/aisleriot.install	                        (rev 0)
+++ gnome-unstable-x86_64/aisleriot.install	2013-09-24 19:21:57 UTC (rev 195052)
@@ -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