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

Jan de Groot jgc at archlinux.org
Fri Sep 26 10:58:05 UTC 2014


    Date: Friday, September 26, 2014 @ 12:58:04
  Author: jgc
Revision: 223166

db-move: moved aisleriot from [gnome-unstable] to [testing] (i686, x86_64)

Added:
  aisleriot/repos/testing-i686/
  aisleriot/repos/testing-i686/PKGBUILD
    (from rev 223030, aisleriot/repos/gnome-unstable-i686/PKGBUILD)
  aisleriot/repos/testing-i686/aisleriot.install
    (from rev 223030, aisleriot/repos/gnome-unstable-i686/aisleriot.install)
  aisleriot/repos/testing-x86_64/
  aisleriot/repos/testing-x86_64/PKGBUILD
    (from rev 223030, aisleriot/repos/gnome-unstable-x86_64/PKGBUILD)
  aisleriot/repos/testing-x86_64/aisleriot.install
    (from rev 223030, aisleriot/repos/gnome-unstable-x86_64/aisleriot.install)
Deleted:
  aisleriot/repos/gnome-unstable-i686/
  aisleriot/repos/gnome-unstable-x86_64/

----------------------------------+
 testing-i686/PKGBUILD            |   46 +++++++++++++++++++++++++++++++++++++
 testing-i686/aisleriot.install   |   22 +++++++++++++++++
 testing-x86_64/PKGBUILD          |   46 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/aisleriot.install |   22 +++++++++++++++++
 4 files changed, 136 insertions(+)

Copied: aisleriot/repos/testing-i686/PKGBUILD (from rev 223030, aisleriot/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-09-26 10:58:04 UTC (rev 223166)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=aisleriot
+pkgver=3.14.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 appdata-tools)
+optdepends=('libkdegames: KDE card sets'
+            'pysolfc: PySol card sets'
+            'pysolfc-cardsets: PySol card sets')
+options=('!emptydirs')
+install=aisleriot.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('4ade0606e53c85dd94da17e1a36e94bceddb6f9d5ff0650238b26c92a7898645')
+
+build() {
+  cd $pkgname-$pkgver
+  export GLIBC_PTHREAD_MUTEX=none
+  export GLIBC_PTHREAD_RWLOCK=none
+  ./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/testing-i686/aisleriot.install (from rev 223030, aisleriot/repos/gnome-unstable-i686/aisleriot.install)
===================================================================
--- testing-i686/aisleriot.install	                        (rev 0)
+++ testing-i686/aisleriot.install	2014-09-26 10:58:04 UTC (rev 223166)
@@ -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/testing-x86_64/PKGBUILD (from rev 223030, aisleriot/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-09-26 10:58:04 UTC (rev 223166)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=aisleriot
+pkgver=3.14.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 appdata-tools)
+optdepends=('libkdegames: KDE card sets'
+            'pysolfc: PySol card sets'
+            'pysolfc-cardsets: PySol card sets')
+options=('!emptydirs')
+install=aisleriot.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('4ade0606e53c85dd94da17e1a36e94bceddb6f9d5ff0650238b26c92a7898645')
+
+build() {
+  cd $pkgname-$pkgver
+  export GLIBC_PTHREAD_MUTEX=none
+  export GLIBC_PTHREAD_RWLOCK=none
+  ./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/testing-x86_64/aisleriot.install (from rev 223030, aisleriot/repos/gnome-unstable-x86_64/aisleriot.install)
===================================================================
--- testing-x86_64/aisleriot.install	                        (rev 0)
+++ testing-x86_64/aisleriot.install	2014-09-26 10:58:04 UTC (rev 223166)
@@ -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