wok annotate obshutdown/receipt @ rev 25233

updated python-requests (2.23.0 -> 2.27.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:27:05 2022 +0100 (2022-07-13)
parents 1810c4d44a48
children d66160614dc4
rev   line source
pankso@15938 1 # SliTaz package receipt.
pankso@15938 2
pankso@15938 3 PACKAGE="obshutdown"
pankso@15938 4 VERSION="0.1-rc1"
pankso@15938 5 CATEGORY="x-window"
pankso@15938 6 SHORT_DESC="Light Openbox shutdown manager"
pankso@15938 7 MAINTAINER="pankso@slitaz.org"
pankso@15938 8 LICENSE="GPL2"
pankso@15938 9 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
pankso@15938 10 WEB_SITE="https://github.com/panjandrum/obshutdown"
pankso@15938 11 WGET_URL="https://github.com/downloads/panjandrum/$PACKAGE/$TARBALL"
pankso@15938 12
pankso@15938 13 DEPENDS="gtk+ cairo openbox"
pankso@15938 14 BUILD_DEPENDS="gtk+-dev cairo-dev wget"
pankso@15938 15
pascal@24497 16 # What is the latest version available today?
pascal@24497 17 current_version()
pascal@24497 18 {
pascal@24497 19 wget -O - https://raw.githubusercontent.com/maciej-lech/obshutdown/master/ChangeLog 2>/dev/null | \
pascal@24497 20 sed '1!d;s|:||;q'
pascal@24497 21 }
pascal@24497 22
pankso@15938 23 # Rules to configure and make the package.
pankso@15938 24 compile_rules()
pankso@15938 25 {
pankso@15938 26 ./configure $CONFIGURE_ARGS &&
pankso@15938 27 IFS=$(echo -en "\n\b")
pankso@15938 28 for i in $(grep -lr "#include <glib" src/)
pankso@15938 29 do
pankso@15938 30 sed -i 's/#include <glib\/.*>/#include <glib\.h>/g' "$i"
pankso@15938 31 done &&
pankso@15938 32 make && make install
pankso@15938 33 }
pankso@15938 34
pankso@15938 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15938 36 genpkg_rules()
pankso@15938 37 {
pankso@15938 38 mkdir -p $fs
pankso@15938 39 cp -r $install/usr $fs
pankso@15938 40 }
pankso@15938 41
pankso@15938 42 post_install()
pankso@15938 43 {
pankso@15938 44 colorize 36 "To get per user config file:"
pankso@15938 45 echo "$ cp /usr/share/obshutdown/example.rc ~/.obshutdown.rc"
pankso@15938 46 }