wok annotate SkypeFreak/receipt @ rev 25189

opusfile-dev: force version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 12 18:41:58 2022 +0000 (2022-07-12)
parents 89c8d8b6cf48
children d66160614dc4
rev   line source
al@16452 1 # SliTaz package receipt.
al@16452 2
al@16452 3 PACKAGE="SkypeFreak"
pascal@22825 4 GITHASH="9347a651e724b41a8da3bc77568577f3c8ed3036"
pascal@24975 5 VERSION="20160217"
al@16452 6 CATEGORY="network"
al@16452 7 SHORT_DESC="A cross platform forensic tool for Skype"
al@16452 8 MAINTAINER="al.bobylev@gmail.com"
al@16452 9 LICENSE="GPL3"
pascal@22825 10 WEB_SITE="http://osandamalith.github.io/SkypeFreak/"
al@16452 11 TARBALL="$PACKAGE-$VERSION.zip"
pascal@22825 12 WGET_URL="https://github.com/OsandaMalith/$PACKAGE/archive/$GITHASH.zip"
al@16452 13
al@16452 14 DEPENDS="python"
al@16453 15 BUILD_DEPENDS="wget"
al@16452 16
pascal@24476 17 # What is the latest version available today?
pascal@24476 18 current_version()
pascal@24476 19 {
pascal@24476 20 wget -O - ${WGET_URL%/*/*}/commits/master 2>/dev/null | \
pascal@24975 21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d
pascal@24476 22 }
pascal@24476 23
al@16452 24 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16452 25 genpkg_rules()
al@16452 26 {
al@16455 27 mkdir -p $fs/usr/bin $fs/usr/share/applications
al@16452 28 cp -a $src/source/SkypeFreak.py $fs/usr/bin
al@16455 29 cp -a $stuff/*.desktop $fs/usr/share/applications
al@16452 30
al@16452 31 # fix bug with unicode strings (I'm not a pythonist, sorry)
al@16452 32 sed -i 's|str(|unicode(|g' $fs/usr/bin/SkypeFreak.py
al@16452 33 }