blob: f52bbc89a62dfd2dcbc6e69fb24b8d65fccfc4b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=aisleriot-git
pkgver=3.22.25.r27
pkgrel=1
epoch=1
pkgdesc="A collection of patience games written in guile scheme"
url="https://wiki.gnome.org/Apps/Aisleriot"
arch=('x86_64')
license=('GPL')
depends=('guile' 'gtk3' 'qt5-svg')
provides=('aisleriot')
conflicts=('aisleriot')
makedepends=('appdata-tools' 'gnome-common' 'git' 'meson')
optdepends=('pysolfc: for PySol card sets'
'pysolfc-cardsets: for PySol card sets'
'libkdegames: for KDE cardsets ')
options=('!makeflags' '!strip' '!emptydirs')
source=("git+https://gitlab.gnome.org/GNOME/aisleriot.git")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
printf %s.r%s $(grep "^ version:" meson.build | cut -d: -f2|tr -d ,|tr -d \') $(git describe --tags | cut -d- -f2)
}
build() {
cd ${pkgname%-git}
[[ -d builddir ]] || mkdir builddir
meson . builddir --prefix=/usr \
--libexecdir=/usr/lib \
-D theme_kde=false \
-D guile=3.0 \
--buildtype=plain
ninja -C builddir
}
package() {
cd ${pkgname%-git}
DESTDIR="$pkgdir" ninja -C builddir install
}
|