summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-24 12:26:47 +0700
committerErik Hanson <erik@slackbuilds.org>2014-04-27 12:18:15 -0500
commitf53f1a1be1d5f62f17b6ca8fa697a48a5392543b (patch)
tree91527a65dae738b6b796efac37bc09a3189f7d98
parentdb6e650a8df51ba3954b1b54e443320aa64cd0f2 (diff)
downloadslackbuilds-f53f1a1be1d5f62f17b6ca8fa697a48a5392543b.tar.gz
network/deis: Updated for version 0.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/deis/deis.SlackBuild5
-rw-r--r--network/deis/deis.info6
-rw-r--r--network/deis/doinst.sh3
3 files changed, 10 insertions, 4 deletions
diff --git a/network/deis/deis.SlackBuild b/network/deis/deis.SlackBuild
index ff28d8f40c..6ace0bb6ae 100644
--- a/network/deis/deis.SlackBuild
+++ b/network/deis/deis.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=deis
-VERSION=${VERSION:-0.6.0}
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,12 +74,15 @@ 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
+rm -f $PKG/usr/README.rst
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/deis/deis.info b/network/deis/deis.info
index 8f8d940099..857da4bb5d 100644
--- a/network/deis/deis.info
+++ b/network/deis/deis.info
@@ -1,8 +1,8 @@
PRGNAM="deis"
-VERSION="0.6.0"
+VERSION="0.8.0"
HOMEPAGE="http://deis.io/"
-DOWNLOAD="https://pypi.python.org/packages/source/d/deis/deis-0.6.0.tar.gz"
-MD5SUM="b9c86bf8ff812cae8f661102839652e1"
+DOWNLOAD="https://pypi.python.org/packages/source/d/deis/deis-0.8.0.tar.gz"
+MD5SUM="12d2c7d0cc338d115dae5c5cc8332a04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="docopt python-dateutil PyYAML python-requests"
diff --git a/network/deis/doinst.sh b/network/deis/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/network/deis/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi