aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/xdgurl/README6
-rw-r--r--desktop/xdgurl/slack-desc4
-rw-r--r--desktop/xdgurl/xdgurl.SlackBuild12
-rw-r--r--desktop/xdgurl/xdgurl.info6
4 files changed, 16 insertions, 12 deletions
diff --git a/desktop/xdgurl/README b/desktop/xdgurl/README
index e769927e365d..85bbc967a117 100644
--- a/desktop/xdgurl/README
+++ b/desktop/xdgurl/README
@@ -1,9 +1,11 @@
-XDG-URL is a custom URL that represent the installation method of
+xdgurl (install helper program for desktop stuff)
+
+XDG-URL is a custom URL that represents the installation method of
desktop stuff.
Just click an XDG-URL link, or type XDG-URL in browser's address bar.
-If you use Firefox, a program selection window opens the first time
+If you use Firefox, a program selection window opens the first time
you open XDG-URL, and you can choose "xdgurl" as custom URL handler.
If you don't get the program selection window or you are using
diff --git a/desktop/xdgurl/slack-desc b/desktop/xdgurl/slack-desc
index 518a522d3b01..afcf539d3b35 100644
--- a/desktop/xdgurl/slack-desc
+++ b/desktop/xdgurl/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
xdgurl: xdgurl (install helper program for desktop stuff)
xdgurl:
-xdgurl: XDG-URL is a custom URL that represents the installation method of
+xdgurl: XDG-URL is a custom URL that represents the installation method of
xdgurl: desktop stuff.
xdgurl:
xdgurl: Just click an XDG-URL link, or type XDG-URL in browser's address bar.
xdgurl:
-xdgurl: Home page: https://github.com/xdgurl/xdgurl
+xdgurl: Home page: https://github.com/ocs-url/ocs-url
xdgurl:
xdgurl:
xdgurl:
diff --git a/desktop/xdgurl/xdgurl.SlackBuild b/desktop/xdgurl/xdgurl.SlackBuild
index 1dd82101f91b..37d7b318e3ba 100644
--- a/desktop/xdgurl/xdgurl.SlackBuild
+++ b/desktop/xdgurl/xdgurl.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for xdgurl.
#
-# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=xdgurl
VERSION=${VERSION:-1.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,13 +57,15 @@ fi
set -e
SRCVER="release-$VERSION"
+SRCNAM="ocs-url"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+mv $SRCNAM-$SRCVER $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -71,8 +73,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-install -D -m 755 "src/$PRGNAM.py" "$PKG/usr/bin/$PRGNAM"
-install -D -m 644 "src/$PRGNAM.desktop" "$PKG/usr/share/applications/$PRGNAM.desktop"
+make
+make DESTDIR=$PKG prefix=/usr install
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
diff --git a/desktop/xdgurl/xdgurl.info b/desktop/xdgurl/xdgurl.info
index 0115a5460bdb..98828db0ad72 100644
--- a/desktop/xdgurl/xdgurl.info
+++ b/desktop/xdgurl/xdgurl.info
@@ -1,8 +1,8 @@
PRGNAM="xdgurl"
VERSION="1.0.1"
-HOMEPAGE="https://github.com/xdgurl/xdgurl"
-DOWNLOAD="https://github.com/xdgurl/xdgurl/archive/release-1.0.1/xdgurl-release-1.0.1.tar.gz"
-MD5SUM="7f32539e4d2a642adae1f04f3bc766a0"
+HOMEPAGE="https://github.com/ocs-url/ocs-url"
+DOWNLOAD="https://github.com/ocs-url/ocs-url/archive/release-1.0.1/xdgurl-release-1.0.1.tar.gz"
+MD5SUM="9c3d79561f1514903eaec8f387afd6b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""