wok-next view cortex/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 1eb4aacb48ed |
children |
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 WEB_SITE="http://cortex.glacicle.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="git|git://github.com/GGLucas/cortex"
14 BUILD_DEPENDS="git bzip2"
16 genpkg_rules() {
17 mkdir -p $fs/usr/bin $fs/home/tux/.cortex
18 cp -a $src/$PACKAGE $fs/usr/bin
19 cp -a $src/config.example $fs/home/tux/.cortex/config
20 DEPENDS="python3 cacerts"
21 }
23 post_install() {
24 chroot "$1/" chown -R tux.users "/home/tux/.cortex"
25 }
27 post_remove() {
28 chroot "$1/" rm -r "/home/tux/.cortex"
29 }