# HG changeset patch # User Pascal Bellard # Date 1460725136 -7200 # Node ID 3152f5063a9003dceeab9bec4492bc9786a8d3b8 # Parent 43ae53d794942abc31b915ea658a43b6b956ae59 webian-shell: improvements in the variables diff -r 43ae53d79494 -r 3152f5063a90 webian-shell/receipt --- a/webian-shell/receipt Fri Apr 15 15:56:42 2016 +0300 +++ b/webian-shell/receipt Fri Apr 15 14:58:56 2016 +0200 @@ -7,12 +7,8 @@ MAINTAINER="hackdorte@sapo.pt" LICENSE="MPL2" WEB_SITE="http://webian.org/shell/" - -# Please, this receipt need improvements in the variables. Thank you. GITHUB="https://cloud.github.com/downloads" -SOURCE="webian_shell_0.1-linux_32" - -TARBALL="$SOURCE.tar.gz" +TARBALL="${PACKAGE/-/_}_$VERSION-linux_32.tar.gz" WGET_URL="$GITHUB/webianproject/shell/$TARBALL" DEPENDS="gtk+ nss" @@ -49,11 +45,10 @@ post_install() { - cd /usr/bin - ln -s /usr/lib/webian-shell/Webian\ Shell webian-shell + ln -s /usr/lib/webian-shell/Webian\ Shell $1/usr/bin/webian-shell } post_remove() { - rm -rf /usr/bin/webian-shell + rm -rf $1/usr/bin/webian-shell }