summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/zeroinstall-injector/README2
-rw-r--r--system/zeroinstall-injector/doinst.sh5
-rw-r--r--system/zeroinstall-injector/slack-desc2
-rw-r--r--system/zeroinstall-injector/zeroinstall-injector.SlackBuild16
-rw-r--r--system/zeroinstall-injector/zeroinstall-injector.info12
5 files changed, 22 insertions, 15 deletions
diff --git a/system/zeroinstall-injector/README b/system/zeroinstall-injector/README
index 933c126126..991631db9a 100644
--- a/system/zeroinstall-injector/README
+++ b/system/zeroinstall-injector/README
@@ -9,5 +9,3 @@ The injector solves this problem by selecting components to meet
a program's requirements, according to a policy you give it.
The injector finds out which versions are available, and downloads
and runs the ones you choose.
-
-NOTE: You'll need PyGTK (available at SlackBuilds.org) to run this.
diff --git a/system/zeroinstall-injector/doinst.sh b/system/zeroinstall-injector/doinst.sh
index 22d4849bce..24e4bc11e0 100644
--- a/system/zeroinstall-injector/doinst.sh
+++ b/system/zeroinstall-injector/doinst.sh
@@ -1,5 +1,4 @@
-
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
fi
diff --git a/system/zeroinstall-injector/slack-desc b/system/zeroinstall-injector/slack-desc
index 1063c5404e..d137463bac 100644
--- a/system/zeroinstall-injector/slack-desc
+++ b/system/zeroinstall-injector/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------|
+ |-----handy-ruler-----------------------------------------|
zeroinstall-injector: zeroinstall-injector (The Zero Install Injector)
zeroinstall-injector:
zeroinstall-injector: A running process is created by combining many different
diff --git a/system/zeroinstall-injector/zeroinstall-injector.SlackBuild b/system/zeroinstall-injector/zeroinstall-injector.SlackBuild
index 5ccfa224c2..5c3d70fa2c 100644
--- a/system/zeroinstall-injector/zeroinstall-injector.SlackBuild
+++ b/system/zeroinstall-injector/zeroinstall-injector.SlackBuild
@@ -1,10 +1,12 @@
#!/bin/sh
# Slackware build script for zeroinstall-injector
+# Original by Michael Dupont
+# Maintained by Erik Hanson erik@slackbuilds.org
PRGNAM=zeroinstall-injector
-VERSION=0.32
-ARCH=${ARCH:-$(uname -m)}
+VERSION=0.40
+ARCH=${ARCH:-i486} # Same as Python
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -26,7 +28,15 @@ chmod -R u+w,go+r-w,a-s .
python setup.py install \
--root=$PKG \
- --prefix=/usr \
+ --prefix=/usr
+
+# Touch up the .desktop files
+sed -i "s/Name=/Name=Zero Install: /" \
+ $PKG/usr/share/applications/zeroinstall-add.desktop \
+ $PKG/usr/share/applications/zeroinstall-manage.desktop
+sed -i "s/Categories=/Categories=System;/" \
+ $PKG/usr/share/applications/zeroinstall-add.desktop \
+ $PKG/usr/share/applications/zeroinstall-manage.desktop
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
diff --git a/system/zeroinstall-injector/zeroinstall-injector.info b/system/zeroinstall-injector/zeroinstall-injector.info
index 1c37ad66c7..37ed46854e 100644
--- a/system/zeroinstall-injector/zeroinstall-injector.info
+++ b/system/zeroinstall-injector/zeroinstall-injector.info
@@ -1,8 +1,8 @@
PRGNAM="zeroinstall-injector"
-VERSION="0.32"
+VERSION="0.40"
HOMEPAGE="http://0install.net"
-DOWNLOAD="http://downloads.sourceforge.net/zero-install/zeroinstall-injector-0.32.tar.bz2"
-MD5SUM="865025e25c2d9c0154d886c47fe7de63"
-MAINTAINER="Michaƫl Dupont"
-EMAIL="milka@konstelacioj.info"
-APPROVED="rworkman"
+DOWNLOAD="http://downloads.sourceforge.net/zero-install/zeroinstall-injector-0.40.tar.bz2"
+MD5SUM="47b960a10300292769f38173c239f3f6"
+MAINTAINER="Erik Hanson"
+EMAIL="erik@slackbuilds.org"
+APPROVED="dsomero"