wok-current diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cortex/receipt	Mon Feb 25 16:57:59 2019 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cortex"
     1.7 +VERSION="02102016"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="An ncurses reddit browser and monitor."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://cortex.glacicle.org/"
    1.14 +WGET_URL="git|git://github.com/GGLucas/cortex"
    1.15 +
    1.16 +DEPENDS="py3k cacerts"
    1.17 +BUILD_DEPENDS="git bzip2"
    1.18 +
    1.19 +
    1.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 +genpkg_rules()
    1.22 +{
    1.23 +	mkdir -p $fs/usr/bin $fs/home/tux/.cortex
    1.24 +	cp -a $src/$PACKAGE $fs/usr/bin
    1.25 +	cp -a $src/config.example $fs/home/tux/.cortex/config
    1.26 +}
    1.27 +
    1.28 +post_install()
    1.29 +{
    1.30 +        chroot "$1/" chown -R tux.users "/home/tux/.cortex"
    1.31 +}
    1.32 +
    1.33 +post_remove()
    1.34 +{
    1.35 +        chroot "$1/" rm -r "/home/tux/.cortex"
    1.36 +}
    1.37 +