wok view nanoshot/receipt @ rev 20932
updated fop (1.0 -> 2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 02 14:33:42 2019 +0100 (2019-03-02) |
parents | 380ffe05937a |
children | afae00265386 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nanoshot"
4 VERSION="0.2.15"
5 CATEGORY="utilities"
6 SHORT_DESC="Take screenshots of screen area, selected windows, web pages and videos"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/nanoshot/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \
14 dbus-python python-pil gst-python"
15 BUILD_DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \
16 dbus-python python-pil bash sed"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p /usr/share/man
22 cd $src
23 ./configure $CONFIGURE_ARGS &&
24 sed -i 's/cp -T/cp/g' ./install
25 # fix install paths
26 sed -i "s|\"/usr|\"$install/usr|g" ./install
28 ./install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 rm -rf $fs/usr/share/icons/{Humanity,Humanity-Dark,ubuntu-mono-dark}
36 rm -rf $fs/usr/man
37 # fix paths
38 sed -i "s|$install||g" $fs/usr/bin/Nanoshot
39 }