summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-03-17 15:38:00 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:18 -0500
commit8b0802e9583dd59d91b529ba26350e19c79a356f (patch)
treeb0c7f8a4b16cb148961bceda9f5eb0fab65f6e40
parentce527dc357ed1bb69acd9ab433f28d99173771a0 (diff)
downloadslackbuilds-8b0802e9583dd59d91b529ba26350e19c79a356f.tar.gz
graphics/Shellpic: Updated for version 1.2.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/Shellpic/Shellpic.SlackBuild5
-rw-r--r--graphics/Shellpic/Shellpic.info8
-rw-r--r--graphics/Shellpic/doinst.sh3
3 files changed, 10 insertions, 6 deletions
diff --git a/graphics/Shellpic/Shellpic.SlackBuild b/graphics/Shellpic/Shellpic.SlackBuild
index ffc7d84eb6..409296baee 100644
--- a/graphics/Shellpic/Shellpic.SlackBuild
+++ b/graphics/Shellpic/Shellpic.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Shellpic
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,11 +75,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES.txt LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES.rst 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/graphics/Shellpic/Shellpic.info b/graphics/Shellpic/Shellpic.info
index 403268a763..d9e1e44c5a 100644
--- a/graphics/Shellpic/Shellpic.info
+++ b/graphics/Shellpic/Shellpic.info
@@ -1,10 +1,10 @@
PRGNAM="Shellpic"
-VERSION="1.2"
+VERSION="1.2.2"
HOMEPAGE="https://github.com/larsjsol/shellpic"
-DOWNLOAD="https://pypi.python.org/packages/source/S/Shellpic/Shellpic-1.2.tar.gz"
-MD5SUM="a122b4aa54f4e7b93abbf138604828cb"
+DOWNLOAD="https://pypi.python.org/packages/source/S/Shellpic/Shellpic-1.2.2.tar.gz"
+MD5SUM="393f12db3c083ca312ac0639d3afa3de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="pysetuptools"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/Shellpic/doinst.sh b/graphics/Shellpic/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/graphics/Shellpic/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