wok-next view gtk-screenshot/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 27bae9732b8d |
children | a3c581bf52b8 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtk-screenshot"
4 VERSION="0.1.0-1"
5 CATEGORY="x-window"
6 SHORT_DESC="A simple GTK+ tool to take screen capture in interactive mode or \
7 in shell"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="http://sourceforge.net/projects/gtk-screenshot/"
12 TARBALL="${PACKAGE}_$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="gtk+-dev libxml2-dev automake autoconf xorg-libXext-dev intltool"
17 compile_rules() {
18 cp $stuff/ru.po $src/po
19 autoreconf
20 sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' $src/configure
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install || return 1
27 sed -i 's|int|in|' $install/usr/bin/screenshot # typo
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="gtk+"
33 TAGS="gtk2 screenshot"
34 }