wok rev 19041
webian-shell: improvements in the variables
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 15 14:58:56 2016 +0200 (2016-04-15) |
parents | 43ae53d79494 |
children | b1d91bf4e3b2 |
files | webian-shell/receipt |
line diff
1.1 --- a/webian-shell/receipt Fri Apr 15 15:56:42 2016 +0300 1.2 +++ b/webian-shell/receipt Fri Apr 15 14:58:56 2016 +0200 1.3 @@ -7,12 +7,8 @@ 1.4 MAINTAINER="hackdorte@sapo.pt" 1.5 LICENSE="MPL2" 1.6 WEB_SITE="http://webian.org/shell/" 1.7 - 1.8 -# Please, this receipt need improvements in the variables. Thank you. 1.9 GITHUB="https://cloud.github.com/downloads" 1.10 -SOURCE="webian_shell_0.1-linux_32" 1.11 - 1.12 -TARBALL="$SOURCE.tar.gz" 1.13 +TARBALL="${PACKAGE/-/_}_$VERSION-linux_32.tar.gz" 1.14 WGET_URL="$GITHUB/webianproject/shell/$TARBALL" 1.15 1.16 DEPENDS="gtk+ nss" 1.17 @@ -49,11 +45,10 @@ 1.18 1.19 post_install() 1.20 { 1.21 - cd /usr/bin 1.22 - ln -s /usr/lib/webian-shell/Webian\ Shell webian-shell 1.23 + ln -s /usr/lib/webian-shell/Webian\ Shell $1/usr/bin/webian-shell 1.24 } 1.25 1.26 post_remove() 1.27 { 1.28 - rm -rf /usr/bin/webian-shell 1.29 + rm -rf $1/usr/bin/webian-shell 1.30 }