diff options
Diffstat (limited to 'misc/dwdiff/dwdiff.SlackBuild')
-rw-r--r-- | misc/dwdiff/dwdiff.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/dwdiff/dwdiff.SlackBuild b/misc/dwdiff/dwdiff.SlackBuild index 54969883d4..3953478a18 100644 --- a/misc/dwdiff/dwdiff.SlackBuild +++ b/misc/dwdiff/dwdiff.SlackBuild @@ -5,7 +5,7 @@ # Released under the WTFPL PRGNAM=dwdiff -VERSION=1.4 +VERSION=${VERSION:-1.5.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -24,9 +24,9 @@ elif [ "$ARCH" = "x86_64" ]; then fi if [[ -z $UNICODE ]]; then - UNICODE=without + UNICODE=without else - UNICODE=with + UNICODE=with fi set -e @@ -57,7 +57,7 @@ make LINGUAS="${NLS:=""}" prefix=$PKG/usr install mv $PKG/usr/share/doc $PKG/usr if [ -z "$NLS" ]; then # share/ will be empty - rmdir $PKG/usr/share + rmdir $PKG/usr/share fi ( cd $PKG @@ -72,6 +72,8 @@ fi for i in $(find . -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done ) +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |