wok-6.x view gnome-calculator/receipt @ rev 17616
Up: gtk+3 3.14.8
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Feb 12 21:01:16 2015 +0000 (2015-02-12) |
parents | 7d4e36ba1ddd |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-calculator"
4 VERSION="3.10.2"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="GNOME Calculator is a powerful graphical calculator with financial, logical and scientific modes."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://wiki.gnome.org/Apps/Calculator"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+3 glib"
14 BUILD_DEPENDS="gtk+3-dev glib-dev itstool yelp-xsl vala"
16 L10N_MO="af am ar as ast az be@latin be bg bn_IN bn bs ca ca@valencia cs cy da \
17 de dz el en_CA en_GB en@shaw en_US eo es et eu fa fi fr ga gl gu he hi hr hu \
18 hy id it ja ka kk km kn ko ku lt lv mai mg mk ml mn mr ms my nb ne nl nn oc or \
19 pa pl pt_BR pt ro ru rw si sk sl sq sr@latin sr sv ta te tg th tk tr ug uk vi \
20 xh zh_CN zh_HK zh_TW"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # SliTaz icon theme has no symbolic icons
26 sed -i 's|-symbolic||g' $src/data/buttons*.ui
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 rm -rf $fs/usr/share/locale
39 }
41 post_install()
42 {
43 echo "Processing post-install commands..."
44 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
45 }
47 post_remove()
48 {
49 echo "Processing post-remove commands..."
50 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
51 }