summaryrefslogtreecommitdiff
path: root/desktop/lumina/lumina.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2016-10-29 07:58:06 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-05 07:16:12 +0700
commit25b71411ea5bc03812457789f1dcfaec68209824 (patch)
tree544323f966e9fcd8472e6e07751eac862a4a6869 /desktop/lumina/lumina.SlackBuild
parent56a30330dcd002ce9f33a76df19541d5aa7d1136 (diff)
downloadslackbuilds-25b71411ea5bc03812457789f1dcfaec68209824.tar.gz
desktop/lumina: Fix VERSION.
Thanks to Chris Willing. Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'desktop/lumina/lumina.SlackBuild')
-rw-r--r--desktop/lumina/lumina.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/desktop/lumina/lumina.SlackBuild b/desktop/lumina/lumina.SlackBuild
index 4209a2298c..7c84fe0f78 100644
--- a/desktop/lumina/lumina.SlackBuild
+++ b/desktop/lumina/lumina.SlackBuild
@@ -25,8 +25,9 @@
# not, see <https://www.gnu.org/licenses/>.
PRGNAM=lumina
-VERSION=${VERSION:-1.1.0-p1}
-SRCVERSION="`echo $VERSION | cut -d'-' -f1`"
+VERSION=${VERSION:-1.1.0_p1}
+PKGVERSION=${PKGVERSION:-1.1.0-p1}
+SRCVERSION="`echo $PKGVERSION | cut -d'-' -f1`"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -94,9 +95,9 @@ install -m 0755 $CWD/xinitrc.lumina $PKG/etc/X11/xinit/xinitrc.lumina
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVERSION
+cp -a LICENSE $PKG/usr/doc/$PRGNAM-$PKGVERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc