wok annotate cryptkeeper/receipt @ rev 24453

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 15 18:29:48 2022 +0000 (2022-02-15)
parents b569b85b0fb9
children 192db54e5c3d
rev   line source
al@19543 1 # SliTaz package receipt.
al@19543 2
al@19543 3 PACKAGE="cryptkeeper"
al@19543 4 VERSION="0.9.5"
al@19543 5 CATEGORY="security"
al@19543 6 SHORT_DESC="Linux system tray applet that manages EncFS encrypted folders"
al@19543 7 MAINTAINER="al.bobylev@gmail.com"
al@19543 8 LICENSE="GPL3"
pascal@24308 9 WEB_SITE="https://github.com/tomm/cryptkeeper"
al@19543 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19543 11 WGET_URL="http://tom.noflag.org.uk/cryptkeeper/$TARBALL"
al@19543 12
al@19543 13 DEPENDS="gtk+ GConf encfs"
al@19543 14 BUILD_DEPENDS="gtk+-dev GConf-dev xorg-libX11-dev"
al@19543 15
pascal@24308 16 # What is the latest version available today?
pascal@24308 17 current_version()
pascal@24308 18 {
pascal@24453 19 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24453 20 sed '/bump version to/!d;s|.* to ||;s|<.*||;q'
pascal@24308 21 }
pascal@24308 22
al@19543 23 # Rules to configure and make the package.
al@19543 24 compile_rules()
al@19543 25 {
al@19543 26 mv po/ru_RU.gmo po/ru.gmo
al@19543 27 patch -p1 -i $stuff/cryptkeeper.patch
al@19543 28 export LDFLAGS="-lX11"
al@19543 29
al@19543 30 ./configure $CONFIGURE_ARGS && make && make install
al@19543 31 }
al@19543 32
al@19543 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19543 34 genpkg_rules()
al@19543 35 {
pascal@20596 36 cp -a $install/usr $fs
al@19543 37 }