wok-current annotate cortex/receipt @ rev 20888

updated epm (4.2 -> 4.4)
author Hans-G?nter Theisgen
date Mon Feb 25 16:57:59 2019 +0100 (2019-02-25)
parents
children efa71a1392d4
rev   line source
paul@19431 1 # SliTaz package receipt.
paul@19431 2
paul@19431 3 PACKAGE="cortex"
paul@19431 4 VERSION="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"
paul@19431 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