aboutsummaryrefslogtreecommitdiff
path: root/misc/fbcat/fbcat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fbcat/fbcat.SlackBuild')
-rw-r--r--misc/fbcat/fbcat.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/fbcat/fbcat.SlackBuild b/misc/fbcat/fbcat.SlackBuild
index cfe83e6b3f1fd..71e85be6433c2 100644
--- a/misc/fbcat/fbcat.SlackBuild
+++ b/misc/fbcat/fbcat.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=fbcat
-VERSION=${VERSION:-0.4.4}
+VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,8 @@ gzip -9c < doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
gzip -9c < doc/fbgrab.1 > $PKG/usr/man/man1/fbgrab.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING doc/changelog doc/tested.txt $PKG/usr/doc/$PRGNAM-$VERSION
+[ -e COPYING ] && C="COPYING" || C="doc/COPYING"
+cp -a $C doc/changelog doc/tested.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install