wok-next view gnome-taquin/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | b15beafb58c2 |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnome-taquin"
4 VERSION="3.30.0"
5 CATEGORY="games"
6 SHORT_DESC="Move tiles so that they reach their places"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://wiki.gnome.org/Apps/Taquin"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="vala glib-dev gtk3-dev librsvg-dev libcanberra-dev intltool \
15 itstool"
16 SPLIT="$PACKAGE-cats $PACKAGE"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 make &&
21 make install || return 1
23 fix symlinks
25 # 'cats' theme moved to a separate package due to a big size,
26 # make remaining 'numbers' theme the default one
27 sed -i "s|<default>'cats'|<default>'numbers'|" \
28 $install/usr/share/glib-2.0/schemas/org.gnome.taquin.gschema.xml
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 gnome-taquin-cats)
34 copy cats/
35 DEPENDS="gnome-taquin"
36 CAT="games|cats theme"
37 ;;
38 gnome-taquin)
39 copy @std @rm
40 DEPENDS="cairo gdk-pixbuf glib gtk3 libcanberra-gtk3"
41 ;;
42 esac
43 }