wok-next view cortex/receipt @ rev 21111

gdbm: split to "libpkg - pkg - pkg-dev"; fix some symlinks
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 11 14:45:46 2019 +0200 (2019-01-11)
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 }