diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-04-16 22:48:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-04-23 07:51:33 +0700 |
commit | fcf06ba17dd87467bf0ccf9e2f80d4a3f6d58a85 (patch) | |
tree | 7a8de7d97f676b2495a540c57f36c2ace49d1af2 | |
parent | de3deee72f8d1b1b9281fe0fa712bfb0de388356 (diff) |
desktop/py3status: Updated for version 1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | desktop/py3status/doinst.sh | 3 | ||||
-rw-r--r-- | desktop/py3status/py3status.SlackBuild | 7 | ||||
-rw-r--r-- | desktop/py3status/py3status.info | 6 |
3 files changed, 11 insertions, 5 deletions
diff --git a/desktop/py3status/doinst.sh b/desktop/py3status/doinst.sh new file mode 100644 index 000000000000..5fb28930db0b --- /dev/null +++ b/desktop/py3status/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 diff --git a/desktop/py3status/py3status.SlackBuild b/desktop/py3status/py3status.SlackBuild index c99587e54272..b0ba99ae43cc 100644 --- a/desktop/py3status/py3status.SlackBuild +++ b/desktop/py3status/py3status.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=py3status -VERSION=${VERSION:-1.3} +VERSION=${VERSION:-1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,17 +69,20 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i 's/README.md/PKG-INFO/' setup.py + 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a PKG-INFO $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/desktop/py3status/py3status.info b/desktop/py3status/py3status.info index 54823b986f76..30a362a96ba3 100644 --- a/desktop/py3status/py3status.info +++ b/desktop/py3status/py3status.info @@ -1,8 +1,8 @@ PRGNAM="py3status" -VERSION="1.3" +VERSION="1.4" HOMEPAGE="https://github.com/ultrabug/py3status" -DOWNLOAD="https://pypi.python.org/packages/source/p/py3status/py3status-1.3.tar.gz" -MD5SUM="60455b1344d948894a4cb71f9d2fe751" +DOWNLOAD="https://pypi.python.org/packages/source/p/py3status/py3status-1.4.tar.gz" +MD5SUM="a2984efad6e6a05bb5cc7d387e743c25" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pysetuptools" |