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