summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Edinaldo P. Silva <edps.mundognu@gmail.com>2015-10-29 07:51:00 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-29 19:37:22 +0700
commitb80e7ba9fe318bc86c426a6348c0067fc402ef46 (patch)
treebf3ce48bbabc50924818cbb60f3f099e61517bbb
parent7d27185055bf4623e54f3c0000c70ecc6aa2787e (diff)
downloadslackbuilds-b80e7ba9fe318bc86c426a6348c0067fc402ef46.tar.gz
slackbuilds-b80e7ba9fe318bc86c426a6348c0067fc402ef46.tar.xz
desktop/obkey: Update SOURCE url.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/obkey/obkey.SlackBuild13
-rw-r--r--desktop/obkey/obkey.info6
-rw-r--r--desktop/obkey/slack-desc2
3 files changed, 11 insertions, 10 deletions
diff --git a/desktop/obkey/obkey.SlackBuild b/desktop/obkey/obkey.SlackBuild
index 004220c8d7..dd4a481737 100644
--- a/desktop/obkey/obkey.SlackBuild
+++ b/desktop/obkey/obkey.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/sh
+#
# Slackware build script for obkey.
-
+#
# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
@@ -23,7 +24,7 @@
PRGNAM=obkey
VERSION=${VERSION:-1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,11 +56,13 @@ fi
set -e
+SRCVER="v1.0"
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCVER.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,10 +76,8 @@ python setup.py install --root=$PKG
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
-DOCS="COPYING NEWS"
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/obkey/obkey.info b/desktop/obkey/obkey.info
index 773e70f427..43e7aed778 100644
--- a/desktop/obkey/obkey.info
+++ b/desktop/obkey/obkey.info
@@ -1,8 +1,8 @@
PRGNAM="obkey"
VERSION="1.0"
-HOMEPAGE="http://code.google.com/p/obkey/"
-DOWNLOAD="http://obkey.googlecode.com/files/obkey-1.0.tar.gz"
-MD5SUM="fd11d473d79055af1e68f40c354d233b"
+HOMEPAGE="https://github.com/nsf/obkey/"
+DOWNLOAD="https://github.com/nsf/obkey/archive/v1.0.tar.gz"
+MD5SUM="41686cfe4708fe304a16163496fa05d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/desktop/obkey/slack-desc b/desktop/obkey/slack-desc
index fba16495fe..e2165eec35 100644
--- a/desktop/obkey/slack-desc
+++ b/desktop/obkey/slack-desc
@@ -10,7 +10,7 @@ obkey: obkey (Openbox key editor)
obkey:
obkey: ObKey is the Openbox Key Editor, written in Python + PyGTK.
obkey:
-obkey: Home page: http://code.google.com/p/obkey/
+obkey: Home page: https://github.com/nsf/obkey/
obkey:
obkey:
obkey: