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