wok-current view gucharmap3/receipt @ rev 22559
updated bogofilter (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 04 16:49:42 2020 +0100 (2020-01-04) |
parents | c04d1e0a8c6f |
children | 6831608a1b2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gucharmap3"
4 VERSION="3.18.2"
5 CATEGORY="utilities"
6 SHORT_DESC="GNOME Character Map (GTK+3)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="gucharmap-$VERSION.tar.xz"
10 WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap"
11 WGET_URL="$GNOME_MIRROR/gucharmap/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+3 xorg-libXdamage"
14 BUILD_DEPENDS="automake gtk-doc libtool itstool libxml2-tools glib-dev file \
15 libgio-dev gtk+3-dev desktop-file-utils-extra gobject-introspection-dev vala"
16 SPLIT="gucharmap3-i18n"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Idea is to have two nonintersecting packages:
22 # gucharmap (for GTK+2) and gucharmap3 (for GTK+3)
23 sed -i '/AC_INIT/s|gucharmap|&3|3; s|GETTEXT_PACKAGE=.*$|&3|' \
24 $src/configure.ac
25 # Disable stuff we never had
26 sed -i '/GNOME_DEBUG_CHECK/d; /YELP/d' $src/configure.ac
27 sed -i '/YELP/d' $src/help/Makefile.am
29 ./autogen.sh --program-suffix=3
30 make && make install
32 find $install/usr/bin -type l -delete
33 mv $install/usr/share/applications/gucharmap.desktop \
34 $install/usr/share/applications/gucharmap3.desktop
35 sed -i 's|Exec=gucharmap|&3|' \
36 $install/usr/share/applications/gucharmap3.desktop
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib $fs/usr/share/applications
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/glib-2.0 $fs/usr/share
47 }