[arch-commits] Commit in aisleriot/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Dec 8 22:24:57 UTC 2019


    Date: Sunday, December 8, 2019 @ 22:24:56
  Author: heftig
Revision: 370541

3.22.10-1

Modified:
  aisleriot/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++------------------------
 1 file changed, 15 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-08 22:09:36 UTC (rev 370540)
+++ PKGBUILD	2019-12-08 22:24:56 UTC (rev 370541)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=aisleriot
-pkgver=3.22.9
+pkgver=3.22.10
 pkgrel=1
 pkgdesc="A collection of patience games written in guile scheme"
 url="https://wiki.gnome.org/Apps/Aisleriot"
@@ -8,12 +8,10 @@
 arch=(x86_64)
 license=(GPL)
 depends=(guile gtk3 librsvg libcanberra dconf)
-makedepends=(appdata-tools gnome-common git)
-optdepends=('libkdegames: KDE card sets'
-            'pysolfc: PySol card sets'
+makedepends=(git meson yelp-tools appstream-glib)
+optdepends=('pysolfc: PySol card sets'
             'pysolfc-cardsets: PySol card sets')
-options=(!emptydirs)
-_commit=a2d1187bc052e599ef73ee640a28cbb2c4f23c2f  # tags/3.22.9^0
+_commit=5123a8c1bf87993ed5deef8ab13f5717496ba482  # tags/3.22.10^0
 source=("git+https://gitlab.gnome.org/GNOME/aisleriot.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -24,29 +22,22 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
+  arch-meson $pkgname build \
+    -D theme_kde=false \
+    -D theme_pysol=true \
+    -D theme_pysol_path=/usr/share/PySolFC
+  ninja -C build
+}
 
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --libexecdir=/usr/lib \
-    --disable-static \
-    --with-platform=gtk-only \
-    --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
+check() {
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list