diff options
Diffstat (limited to 'extra/aisleriot/PKGBUILD')
-rw-r--r-- | extra/aisleriot/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/aisleriot/PKGBUILD b/extra/aisleriot/PKGBUILD new file mode 100644 index 000000000..790e1a8d2 --- /dev/null +++ b/extra/aisleriot/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 139215 2011-10-01 18:55:37Z ibiru $ +# Maintainer: Jan "heftig" Steffens <jan.steffens@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 +} |