wok-next annotate 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 |
rev | line source |
---|---|
jozee@3040 | 1 # SliTaz package receipt. |
jozee@3040 | 2 |
jozee@3040 | 3 PACKAGE="keepassx" |
erjo@5887 | 4 VERSION="0.4.3" |
jozee@3040 | 5 CATEGORY="graphics" |
jozee@3040 | 6 SHORT_DESC="Cross platform password manager" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://www.keepassx.org/" |
al@20883 | 10 REPOLOGY="keepassx0" |
al@20883 | 11 |
jozee@3040 | 12 #SOURCE="KeePassX" |
jozee@3040 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@3040 | 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@3040 | 15 |
al@21078 | 16 BUILD_DEPENDS="Qt4-dev libxtst-dev qmake mesa-libegl" |
pascal@15002 | 17 |
al@21020 | 18 compile_rules() { |
al@17261 | 19 cd $src/src |
jozee@3040 | 20 qmake PREFIX=/usr && |
jozee@3040 | 21 make && |
al@21020 | 22 make INSTALL_ROOT=$install install |
jozee@3040 | 23 } |
jozee@3040 | 24 |
al@21020 | 25 genpkg_rules() { |
al@17261 | 26 mkdir -p \ |
al@17261 | 27 $fs/usr/share/keepassx \ |
al@17261 | 28 $fs/usr/share/licenses \ |
al@17261 | 29 $fs/usr/share/icons/hicolor/16x16/apps $fs/usr/share/icons/hicolor/48x48/apps |
al@17261 | 30 |
pascal@15002 | 31 cp -a $install/usr/bin $fs/usr |
al@17261 | 32 cp -a $install/usr/share/keepassx/icons $fs/usr/share/keepassx |
al@17261 | 33 cp -a $install/usr/share/keepassx/license.html $fs/usr/share/licenses/$PACKAGE.html |
al@17261 | 34 ln -s /usr/share/keepassx/icons/keepassx_small.png $fs/usr/share/icons/hicolor/16x16/apps/keepassx.png |
al@17261 | 35 ln -s /usr/share/keepassx/icons/keepassx_large.png $fs/usr/share/icons/hicolor/48x48/apps/keepassx.png |
al@21078 | 36 DEPENDS="libxtst libQtCore libQtGui libQtXml gcc-lib-base" |
al@21020 | 37 TAGS="password key" |
jozee@3040 | 38 } |