diff options
author | root <root@rshg054.dnsready.net> | 2013-06-09 00:51:01 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-09 00:51:01 -0700 |
commit | 7b378b1b5b346bd49a5ab1652214fb34d03de3a9 (patch) | |
tree | 9ec661d7828b93bd4d24723647adc0701d87eda2 /extra/aisleriot | |
parent | e90166c70f3a2bd27d8c914491f7e0510855fd3f (diff) |
Sun Jun 9 00:50:45 PDT 2013
Diffstat (limited to 'extra/aisleriot')
-rw-r--r-- | extra/aisleriot/PKGBUILD | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/extra/aisleriot/PKGBUILD b/extra/aisleriot/PKGBUILD index 9a9786fa9..b46d66e79 100644 --- a/extra/aisleriot/PKGBUILD +++ b/extra/aisleriot/PKGBUILD @@ -1,36 +1,44 @@ -# $Id: PKGBUILD 170150 2012-11-03 17:53:42Z heftig $ +# $Id: PKGBUILD 188075 2013-06-08 11:18:20Z bpiotrowski $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgname=aisleriot -pkgver=3.2.3.2 +pkgver=3.8.0 pkgrel=1 -pkgdesc="GNOME Solitaire card games" +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=(libsm gconf guile libcanberra librsvg hicolor-icon-theme dconf) -makedepends=(intltool itstool docbook-xsl) +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::3}/$pkgname-$pkgver.tar.xz) -sha256sums=('06eeeef49e7a0f8a98142085a64bc7830d0dd02e480fbfa1309545fccc977a36') +sha256sums=('14954fe77fa953b20f5385292743857f79efd45e8b75fb06807e7cf17f9db004') build() { cd $pkgname-$pkgver - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static + ./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 -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 + 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 } |