desktop/xdgurl: Update script and DOWNLOAD.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-03-19 23:57:03 +07:00 committed by Willy Sudiarto Raharjo
parent d65472bccc
commit aa3167eb35
4 changed files with 16 additions and 12 deletions

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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=""