diff options
Diffstat (limited to 'desktop/py3status')
-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 0000000000..5fb28930db --- /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 c99587e542..b0ba99ae43 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 54823b986f..30a362a96b 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" |