summaryrefslogtreecommitdiff
path: root/network/wire/wire.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/wire/wire.SlackBuild')
-rw-r--r--network/wire/wire.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/wire/wire.SlackBuild b/network/wire/wire.SlackBuild
index a208407859..071a781e53 100644
--- a/network/wire/wire.SlackBuild
+++ b/network/wire/wire.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wire
-VERSION=${VERSION:-2.15.2751}
+VERSION=${VERSION:-3.0.2816}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,8 +75,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Install data
-mkdir -p $PKG/opt/${PRGNAM^}
-cp -rf opt/$PRGNAM-desktop/* $PKG/opt/${PRGNAM^}
+mkdir -p $PKG/opt/$PRGNAM-desktop
+cp -rf opt/$PRGNAM-desktop/* $PKG/opt/$PRGNAM-desktop
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
@@ -85,18 +85,18 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/bin
(
cd $PKG/usr/bin
- ln -sf /opt/${PRGNAM^}/$PRGNAM $PRGNAM
+ ln -sf /opt/$PRGNAM-desktop/$PRGNAM-desktop $PRGNAM-desktop
)
# Install .desktop file
mkdir -p $PKG/usr/share/applications
cat usr/share/applications/$PRGNAM-desktop.desktop > \
- $PKG/usr/share/applications/$PRGNAM.desktop
+ $PKG/usr/share/applications/$PRGNAM-desktop.desktop
# Install .desktop icon
mkdir -p $PKG/usr/share/pixmaps
install -D -m0644 usr/share/icons/hicolor/32x32/apps/$PRGNAM-desktop.png \
- $PKG/usr/share/pixmaps/$PRGNAM.png
+ $PKG/usr/share/pixmaps/$PRGNAM-desktop.png
gunzip usr/share/doc/$PRGNAM-desktop/changelog.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION