wok-next view nanoshot/receipt @ rev 20931
pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 08:03:04 2018 +0300 (2018-08-23) |
parents | a00b398faf9e |
children | c022997c7a57 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nanoshot"
4 VERSION="0.2.15"
5 CATEGORY="utilities"
6 SHORT_DESC="Take screenshots of screen area, windows, web pages and videos"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/nanoshot/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="xdg-utils python python-pygobject2 pygtk pycurl gnome-python-desktop \
15 python-dbus python-pil bash sed gettext"
17 compile_rules() {
18 mkdir -p /usr/share/man
20 ./configure $CONFIGURE_ARGS &&
21 sed -i 's/cp -T/cp/g' ./install
22 # fix install paths
23 sed -i "s|\"/usr|\"$install/usr|g" ./install
25 ./install
27 # fix paths
28 sed -i "s|$install||g" $install/usr/bin/Nanoshot
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="xdg-utils python python-pygobject2 pygtk pycurl gnome-python-desktop \
34 python-dbus python-pil gst0-python"
35 }