[arch-commits] Commit in (5 files)
Jan Steffens
heftig at archlinux.org
Wed Sep 21 14:59:46 UTC 2011
Date: Wednesday, September 21, 2011 @ 10:59:46
Author: heftig
Revision: 138399
add aisleriot
Added:
aisleriot/
aisleriot/repos/
aisleriot/trunk/
aisleriot/trunk/PKGBUILD
aisleriot/trunk/aisleriot.install
-------------------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
aisleriot.install | 22 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
Added: aisleriot/trunk/PKGBUILD
===================================================================
--- aisleriot/trunk/PKGBUILD (rev 0)
+++ aisleriot/trunk/PKGBUILD 2011-09-21 14:59:46 UTC (rev 138399)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+
+pkgname=aisleriot
+pkgver=3.1.92
+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=('79e8b8fe1d5d18dd93e9e27a0b19146929e41aa17c242e388b75b5ebe511def6')
+
+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
+}
Property changes on: aisleriot/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
Added: aisleriot/trunk/aisleriot.install
===================================================================
--- aisleriot/trunk/aisleriot.install (rev 0)
+++ aisleriot/trunk/aisleriot.install 2011-09-21 14:59:46 UTC (rev 138399)
@@ -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