wok-next diff pyradio/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 9e01bc6321ea |
children | 0cbe4b1f2230 |
line diff
1.1 --- a/pyradio/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/pyradio/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="pyradio" 1.5 VERSION="0.4" 1.6 CATEGORY="multimedia" 1.7 -SHORT_DESC="Ncurses internet radio player." 1.8 +SHORT_DESC="Ncurses internet radio player" 1.9 MAINTAINER="paul@slitaz.org" 1.10 LICENSE="MIT" 1.11 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 @@ -14,9 +14,7 @@ 1.13 DEPENDS="ncurses mplayer python" 1.14 BUILD_DEPENDS="git" 1.15 1.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 -genpkg_rules() 1.18 -{ 1.19 +genpkg_rules() { 1.20 mkdir -p $fs/usr/bin $fs/usr/share/pyradio 1.21 cp -a $src/pyradio $fs/usr/bin 1.22 cp -a $src/stations.csv $fs/usr/share/pyradio 1.23 @@ -24,9 +22,7 @@ 1.24 #cp -a $src/LICENCE $fs/usr/share/pyradio 1.25 } 1.26 1.27 -post_install() 1.28 -{ 1.29 +post_install() { 1.30 # hack for path to stations file 1.31 sed -i 's|__file__|"/usr/share/pyradio/"|g' "$1/usr/bin/pyradio" 1.32 } 1.33 -