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 /desktop/py3status/py3status.SlackBuild | |
parent | de3deee72f8d1b1b9281fe0fa712bfb0de388356 (diff) |
desktop/py3status: Updated for version 1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/py3status/py3status.SlackBuild')
-rw-r--r-- | desktop/py3status/py3status.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/py3status/py3status.SlackBuild b/desktop/py3status/py3status.SlackBuild index c99587e54272c..b0ba99ae43cc7 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} |