diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-03-19 23:57:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-19 23:57:35 +0700 |
commit | aa3167eb356e295b658adbf86282f597ce337738 (patch) | |
tree | a8835587d6659468d0a4e2de841e56812cef6b28 /desktop | |
parent | d65472bccc9d0329107cdcba511b2c1ad18c4fc6 (diff) |
desktop/xdgurl: Update script and DOWNLOAD.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/xdgurl/README | 6 | ||||
-rw-r--r-- | desktop/xdgurl/slack-desc | 4 | ||||
-rw-r--r-- | desktop/xdgurl/xdgurl.SlackBuild | 12 | ||||
-rw-r--r-- | desktop/xdgurl/xdgurl.info | 6 |
4 files changed, 16 insertions, 12 deletions
diff --git a/desktop/xdgurl/README b/desktop/xdgurl/README index e769927e365d8..85bbc967a1177 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 518a522d3b015..afcf539d3b355 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 1dd82101f91b5..37d7b318e3bac 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 0115a5460bdb6..98828db0ad72a 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="" |