diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-16 08:49:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-17 17:24:13 +0700 |
commit | 08515091e6c4d69efb7653eaa5935e16cf11f585 (patch) | |
tree | b6620b4063b46c3e67c4c1c4bd24577e43cc6be8 /development/pyclewn/pyclewn.SlackBuild | |
parent | d58ef1732aec30093c8998ac1c2fd40fb092efc4 (diff) |
development/pyclewn: Updated for version 2.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/pyclewn/pyclewn.SlackBuild')
-rw-r--r-- | development/pyclewn/pyclewn.SlackBuild | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/development/pyclewn/pyclewn.SlackBuild b/development/pyclewn/pyclewn.SlackBuild index 8dc06060164cf..63bdc9baac2b3 100644 --- a/development/pyclewn/pyclewn.SlackBuild +++ b/development/pyclewn/pyclewn.SlackBuild @@ -5,9 +5,9 @@ # Written by Anton S. Abanin <warlock66613@gmail.com> PRGNAM=pyclewn -VERSION=${VERSION:-1.11.py2} +VERSION=${VERSION:-2.2} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} # the "_SBo" is required +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,9 +18,9 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -46,26 +46,18 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -EDITOR=/usr/bin/vim python setup.py install --root=$PKG +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 \ - ChangeLog \ - COPYING \ - INSTALL \ - MANIFEST.in \ - NEWS \ - PKG-INFO \ - README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING INSTALL NEWS PKG-INFO README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |