aboutsummaryrefslogtreecommitdiff
path: root/desktop/lumina/lumina.SlackBuild
diff options
context:
space:
mode:
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 4209a2298c25e..7c84fe0f7820c 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