wok-next view cortex/receipt @ rev 20976
Follow recent changes in the Python renames
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 25 17:35:51 2018 +0300 (2018-09-25) |
parents | 6ee34149411d |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="cortex"
4 VERSION="02102016"
5 CATEGORY="utilities"
6 SHORT_DESC="An ncurses reddit browser and monitor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://cortex.glacicle.org/"
11 WGET_URL="git|git://github.com/GGLucas/cortex"
13 DEPENDS="python3 cacerts"
14 BUILD_DEPENDS="git bzip2"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/bin $fs/home/tux/.cortex
21 cp -a $src/$PACKAGE $fs/usr/bin
22 cp -a $src/config.example $fs/home/tux/.cortex/config
23 }
25 post_install()
26 {
27 chroot "$1/" chown -R tux.users "/home/tux/.cortex"
28 }
30 post_remove()
31 {
32 chroot "$1/" rm -r "/home/tux/.cortex"
33 }