wok-next view gtkballs/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 8923c7424549 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtkballs"
4 VERSION="3.1.5"
5 CATEGORY="games"
6 SHORT_DESC="Clone of DOS Lines"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://gtkballs.antex.ru/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev"
15 SPLIT="gtkballs-themes gtkballs"
17 compile_rules() {
18 sed -i 's|^localstatedir =.*|localstatedir = /var/games|' Makefile*
19 mkdir -p $install/var/games
20 ./configure \
21 --prefix=/usr \
22 --bindir=/usr/games \
23 --localstatedir=/var/games \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install || return 1
29 cp -a $stuff/cell.xpm $install/usr/share/gtkballs/themes/Default/
30 mv $install/usr/share/gtkballs/themes/Default \
31 $install/usr/share/gtkballs/themes/Original
32 cp -a $install/usr/share/gtkballs/themes/klines \
33 $install/usr/share/gtkballs/themes/Default
34 rm -rf $install/usr/share/gtkballs/themes/klines
36 mkdir -p $install/usr/share/pixmaps/
37 cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \
38 $install/usr/share/pixmaps/gtkballs.png
40 chmod 666 $install/var/games/gtkballs-scores
41 }
43 genpkg_rules() {
44 case $PACKAGE in
45 gtkballs-themes)
46 copy themes/
47 CAT="games|game themes"
48 ;;
49 gtkballs)
50 copy @std @rm
51 DEPENDS="gtk2 xorg-libXdamage"
52 SUGGESTED="gtkballs-themes"
53 ;;
54 esac
55 }