wok-current annotate cortex/receipt @ rev 23483

updated python-flup (1.0.2 -> 1.0.3)
author Hans-G?nter Theisgen
date Sun Apr 05 16:50:57 2020 +0100 (2020-04-05)
parents 6ee34149411d
children 34e801e0eb52
rev   line source
paul@19431 1 # SliTaz package receipt.
paul@19431 2
paul@19431 3 PACKAGE="cortex"
pascal@22832 4 VERSION="0.5.1_02102016"
paul@19431 5 CATEGORY="utilities"
paul@19431 6 SHORT_DESC="An ncurses reddit browser and monitor."
paul@19431 7 MAINTAINER="paul@slitaz.org"
paul@19431 8 LICENSE="MIT"
pascal@22832 9 TARBALL="$PACKAGE-${VERSION#*_}.tar.bz2"
paul@19431 10 WEB_SITE="http://cortex.glacicle.org/"
paul@19431 11 WGET_URL="git|git://github.com/GGLucas/cortex"
paul@19431 12
paul@19431 13 DEPENDS="py3k cacerts"
paul@19431 14 BUILD_DEPENDS="git bzip2"
paul@19431 15
paul@19431 16
paul@19431 17 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@19431 18 genpkg_rules()
paul@19431 19 {
paul@19431 20 mkdir -p $fs/usr/bin $fs/home/tux/.cortex
paul@19431 21 cp -a $src/$PACKAGE $fs/usr/bin
paul@19431 22 cp -a $src/config.example $fs/home/tux/.cortex/config
paul@19431 23 }
paul@19431 24
paul@19431 25 post_install()
paul@19431 26 {
paul@19431 27 chroot "$1/" chown -R tux.users "/home/tux/.cortex"
paul@19431 28 }
paul@19431 29
paul@19431 30 post_remove()
paul@19431 31 {
paul@19431 32 chroot "$1/" rm -r "/home/tux/.cortex"
paul@19431 33 }
paul@19431 34