wok-next diff nanoshot/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | da30720c01f0 |
children | a3c581bf52b8 |
line diff
1.1 --- a/nanoshot/receipt Sat Jul 29 22:49:56 2017 +0200 1.2 +++ b/nanoshot/receipt Tue May 15 02:59:03 2018 +0300 1.3 @@ -1,39 +1,35 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="nanoshot" 1.8 VERSION="0.2.15" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="Take screenshots of screen area, selected windows, web pages and videos" 1.11 +SHORT_DESC="Take screenshots of screen area, windows, web pages and videos" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="http://sourceforge.net/projects/nanoshot/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 1.19 -DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \ 1.20 -dbus-python python-pil gst0-python" 1.21 BUILD_DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \ 1.22 dbus-python python-pil bash sed gettext" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 mkdir -p /usr/share/man 1.29 - cd $src 1.30 + 1.31 ./configure $CONFIGURE_ARGS && 1.32 sed -i 's/cp -T/cp/g' ./install 1.33 # fix install paths 1.34 sed -i "s|\"/usr|\"$install/usr|g" ./install 1.35 1.36 ./install 1.37 + 1.38 + # fix paths 1.39 + sed -i "s|$install||g" $install/usr/bin/Nanoshot 1.40 } 1.41 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 - cp -a $install/* $fs 1.46 - rm -rf $fs/usr/share/icons/{Humanity,Humanity-Dark,ubuntu-mono-dark} 1.47 - rm -rf $fs/usr/man 1.48 - # fix paths 1.49 - sed -i "s|$install||g" $fs/usr/bin/Nanoshot 1.50 +genpkg_rules() { 1.51 + copy @std 1.52 + DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \ 1.53 + dbus-python python-pil gst0-python" 1.54 }