wok-6.x diff keepassx/receipt @ rev 25122

Up apache (2.4.54)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 28 08:48:09 2022 +0000 (2022-06-28)
parents 00e3b45c063b
children
line diff
     1.1 --- a/keepassx/receipt	Sat May 07 11:09:47 2022 +0000
     1.2 +++ b/keepassx/receipt	Tue Jun 28 08:48:09 2022 +0000
     1.3 @@ -2,18 +2,19 @@
     1.4  
     1.5  PACKAGE="keepassx"
     1.6  VERSION="0.4.3"
     1.7 -CATEGORY="graphics"
     1.8 -SHORT_DESC="Cross platform password manager"
     1.9 +CATEGORY="security"
    1.10 +TAGS="password key"
    1.11 +SHORT_DESC="Cross platform password manager."
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.keepassx.org/"
    1.15 +
    1.16  #SOURCE="KeePassX"
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://www.keepassx.org/"
    1.19  WGET_URL="https://www.keepassx.org/releases/$VERSION/$TARBALL"
    1.20 -TAGS="password key"
    1.21  
    1.22 -DEPENDS="xorg-libXtst libQtCore libQtGui libQtXml gcc-lib-base"
    1.23 -BUILD_DEPENDS="Qt4-dev xorg-libXtst-dev xorg-libXtst qmake libegl-mesa"
    1.24 +DEPENDS="gcc-lib-base libQtCore libQtGui libQtXml xorg-libXtst"
    1.25 +BUILD_DEPENDS="libegl-mesa qmake Qt4-dev xorg-libXtst-dev xorg-libXtst"
    1.26  
    1.27  # What is the latest version available today?
    1.28  current_version()
    1.29 @@ -25,23 +26,25 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src/src
    1.34 +	cd src
    1.35  	qmake PREFIX=/usr &&
    1.36  	make &&
    1.37 -	make INSTALL_ROOT=$DESTDIR install
    1.38 +	make install INSTALL_ROOT=$DESTDIR
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p \
    1.45 -		$fs/usr/share/keepassx \
    1.46 -		$fs/usr/share/licenses \
    1.47 -		$fs/usr/share/icons/hicolor/16x16/apps $fs/usr/share/icons/hicolor/48x48/apps
    1.48 +	mkdir -p $fs/usr/share/keepassx
    1.49 +	mkdir -p $fs/usr/share/licenses
    1.50 +	mkdir -p $fs/usr/share/icons/hicolor/16x16/apps
    1.51 +	mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
    1.52  
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 -	cp -a $install/usr/share/keepassx/icons $fs/usr/share/keepassx
    1.55 -	cp -a $install/usr/share/keepassx/license.html $fs/usr/share/licenses/$PACKAGE.html
    1.56 -	ln -s /usr/share/keepassx/icons/keepassx_small.png $fs/usr/share/icons/hicolor/16x16/apps/keepassx.png
    1.57 -	ln -s /usr/share/keepassx/icons/keepassx_large.png $fs/usr/share/icons/hicolor/48x48/apps/keepassx.png
    1.58 +	cp -a $install/usr/bin				$fs/usr
    1.59 +	cp -a $install/usr/share/keepassx/icons		$fs/usr/share/keepassx
    1.60 +	cp -a $install/usr/share/keepassx/license.html	$fs/usr/share/licenses/$PACKAGE.html
    1.61 +	ln -s /usr/share/keepassx/icons/keepassx_small.png \
    1.62 +							$fs/usr/share/icons/hicolor/16x16/apps/keepassx.png
    1.63 +	ln -s /usr/share/keepassx/icons/keepassx_large.png \
    1.64 +							$fs/usr/share/icons/hicolor/48x48/apps/keepassx.png
    1.65  }