wok-next view gnome-chess/receipt @ rev 21134

pngquant: skip checksum for Git-based source
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jan 20 15:38:18 2019 +0200 (2019-01-20)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnome-chess"
4 VERSION="3.30.0"
5 CATEGORY="games"
6 SHORT_DESC="Play the classic two-player boardgame of chess"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://wiki.gnome.org/Apps/Chess"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="meson ninja vala gtk3-dev librsvg-dev gettext-dev itstool"
16 compile_rules() {
17 # help files on the next languages are failed to build on the some reason...
18 sed -i '/^cs$/d; /^de$/d; /^da$/d; /^es$/d; /^el$/d; /^fr$/d; /^gl$/d;
19 /^pl$/d; /^ko$/d; /^pt_BR$/d; /^sv$/d' help/LINGUAS
21 mkdir build
22 cd build
24 meson-wrapper &&
25 ninja &&
26 ninja install || return 1
28 find $install -type f -perm 664 -exec chmod 644 '{}' \;
29 fix symlinks
30 }
32 genpkg_rules() {
33 copy @std
34 DEPENDS="libcairo glib gtk3 librsvg"
35 }