wok-next view keepassx/receipt @ rev 21134
pngquant: skip checksum for Git-based source
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jan 20 15:38:18 2019 +0200 (2019-01-20) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="keepassx"
4 VERSION="0.4.3"
5 CATEGORY="graphics"
6 SHORT_DESC="Cross platform password manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.keepassx.org/"
10 REPOLOGY="keepassx0"
12 #SOURCE="KeePassX"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 BUILD_DEPENDS="Qt4-dev libxtst-dev qmake mesa-libegl"
18 compile_rules() {
19 cd $src/src
20 qmake PREFIX=/usr &&
21 make &&
22 make INSTALL_ROOT=$install install
23 }
25 genpkg_rules() {
26 mkdir -p \
27 $fs/usr/share/keepassx \
28 $fs/usr/share/licenses \
29 $fs/usr/share/icons/hicolor/16x16/apps $fs/usr/share/icons/hicolor/48x48/apps
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/keepassx/icons $fs/usr/share/keepassx
33 cp -a $install/usr/share/keepassx/license.html $fs/usr/share/licenses/$PACKAGE.html
34 ln -s /usr/share/keepassx/icons/keepassx_small.png $fs/usr/share/icons/hicolor/16x16/apps/keepassx.png
35 ln -s /usr/share/keepassx/icons/keepassx_large.png $fs/usr/share/icons/hicolor/48x48/apps/keepassx.png
36 DEPENDS="libxtst libQtCore libQtGui libQtXml gcc-lib-base"
37 TAGS="password key"
38 }