aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAntoine Fontaine <antoine.fontaine@epfl.ch>2019-12-07 00:29:22 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-07 07:03:30 +0100
commit8fc7b45f12456713eb3f8e62e7a6728e1e1a6c6c (patch)
tree9548a8b78b487df8ec0feeb645d90c7a88d8b6d3 /testing
parent0bb4ab8cfabb19e4afa0623b58a6b413d9239bf6 (diff)
downloadaports-8fc7b45f12456713eb3f8e62e7a6728e1e1a6c6c.tar.bz2
aports-8fc7b45f12456713eb3f8e62e7a6728e1e1a6c6c.tar.xz
testing/aisleriot: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/aisleriot/APKBUILD37
-rw-r--r--testing/aisleriot/fix-bash-shebang.patch10
2 files changed, 47 insertions, 0 deletions
diff --git a/testing/aisleriot/APKBUILD b/testing/aisleriot/APKBUILD
new file mode 100644
index 0000000000..36630e299e
--- /dev/null
+++ b/testing/aisleriot/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
+# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch>
+pkgname="aisleriot"
+pkgver="3.22.10"
+pkgrel=0
+pkgdesc="Solitaire and other card games for GNOME"
+url="https://wiki.gnome.org/Apps/Aisleriot"
+arch="all !s390x"
+license="GPL-3.0-or-later"
+makedepends="meson bash librsvg-dev guile-dev libxml2 libxml2-dev libxml2-utils
+ itstool gtk+3.0-dev libcanberra-dev gmp-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://gitlab.gnome.org/GNOME/aisleriot/-/archive/$pkgver/aisleriot-$pkgver.tar.gz
+ fix-bash-shebang.patch"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -D theme_kde=false \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="c041fcf51949b5e0b6e0a1efb5665e0853537694e5fc35ac15f4f41d6133c56e078fcd92710da0cce957432883a7cea636698c3fc4e83e54262c25273c551eb3 aisleriot-3.22.10.tar.gz
+9db40fb258e8d70de8d1763eaf08fc1c9b79291efff8018556f2a18d40dd66c0f73b37083199bee6e41130766b91b124e539afed2a8ccde8105e34a0bc8f1f43 fix-bash-shebang.patch"
diff --git a/testing/aisleriot/fix-bash-shebang.patch b/testing/aisleriot/fix-bash-shebang.patch
new file mode 100644
index 0000000000..d4b12988ca
--- /dev/null
+++ b/testing/aisleriot/fix-bash-shebang.patch
@@ -0,0 +1,10 @@
+diff --git a/cards/meson_svgz.sh b/cards/meson_svgz.sh
+index 5a0bf01..20f0de9 100755
+--- a/cards/meson_svgz.sh
++++ b/cards/meson_svgz.sh
+@@ -1,4 +1,4 @@
+-#!/usr/bin/bash
++#!/usr/bin/env bash
+ # Copyright © 2019 Christian Persch
+ #
+ # This programme is free software; you can redistribute it and/or modify it