[arch-commits] Commit in aisleriot/repos (4 files)
Jan Steffens
heftig at archlinux.org
Thu Mar 30 20:56:49 UTC 2017
Date: Thursday, March 30, 2017 @ 20:56:48
Author: heftig
Revision: 291909
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
aisleriot/repos/staging-i686/
aisleriot/repos/staging-i686/PKGBUILD
(from rev 291908, aisleriot/trunk/PKGBUILD)
aisleriot/repos/staging-x86_64/
aisleriot/repos/staging-x86_64/PKGBUILD
(from rev 291908, aisleriot/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
Copied: aisleriot/repos/staging-i686/PKGBUILD (from rev 291908, aisleriot/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-03-30 20:56:48 UTC (rev 291909)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=aisleriot
+pkgver=3.22.1
+pkgrel=2
+pkgdesc="A collection of patience games written in guile scheme"
+url="https://wiki.gnome.org/Apps/Aisleriot"
+arch=(i686 x86_64)
+license=(GPL)
+groups=(gnome-extra)
+depends=(guile2.0 gtk3 librsvg libcanberra gconf dconf)
+makedepends=(intltool itstool docbook-xsl yelp-tools appdata-tools gnome-common git)
+optdepends=('libkdegames: KDE card sets'
+ 'pysolfc: PySol card sets'
+ 'pysolfc-cardsets: PySol card sets')
+options=(!emptydirs)
+_commit=8c925bd5ce56a387ce42b83e400e6e31e648165e # tags/3.22.1^0
+source=("git+https://git.gnome.org/browse/aisleriot#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib --disable-static \
+ --with-kde-card-theme-path=/usr/share/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
+ make DESTDIR="$pkgdir" install GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+ install -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/staging-x86_64/PKGBUILD (from rev 291908, aisleriot/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-03-30 20:56:48 UTC (rev 291909)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=aisleriot
+pkgver=3.22.1
+pkgrel=2
+pkgdesc="A collection of patience games written in guile scheme"
+url="https://wiki.gnome.org/Apps/Aisleriot"
+arch=(i686 x86_64)
+license=(GPL)
+groups=(gnome-extra)
+depends=(guile2.0 gtk3 librsvg libcanberra gconf dconf)
+makedepends=(intltool itstool docbook-xsl yelp-tools appdata-tools gnome-common git)
+optdepends=('libkdegames: KDE card sets'
+ 'pysolfc: PySol card sets'
+ 'pysolfc-cardsets: PySol card sets')
+options=(!emptydirs)
+_commit=8c925bd5ce56a387ce42b83e400e6e31e648165e # tags/3.22.1^0
+source=("git+https://git.gnome.org/browse/aisleriot#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib --disable-static \
+ --with-kde-card-theme-path=/usr/share/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
+ make DESTDIR="$pkgdir" install GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+ install -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
+}
More information about the arch-commits
mailing list