wok-next view cortex/receipt @ rev 19980

Up libva (1.8.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 18 03:39:08 2017 +0300 (2017-10-18)
parents
children 1eb4aacb48ed
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="py3k 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 }