diff options
author | LEVAI Daniel <leva@ecentrum.hu> | 2014-03-31 09:05:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-03-31 09:05:25 +0700 |
commit | 5a23c1b55b085329f027b7942e4552a13b50098b (patch) | |
tree | e2fdbfc20590541c2aeed4aab4502d6abdcc09c1 /network/offlineimap | |
parent | cb00aca48dbda4635f6ede6af07d29a7cb04c10d (diff) | |
download | slackbuilds-5a23c1b55b085329f027b7942e4552a13b50098b.tar.gz |
network/offlineimap: Update Build Script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/offlineimap')
-rw-r--r-- | network/offlineimap/offlineimap.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/network/offlineimap/offlineimap.SlackBuild b/network/offlineimap/offlineimap.SlackBuild index 5973d225cb..830bf4ab04 100644 --- a/network/offlineimap/offlineimap.SlackBuild +++ b/network/offlineimap/offlineimap.SlackBuild @@ -43,10 +43,10 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e # In case the source was fetched with wget or some other downloader: -[ -e v${VERSION} ] && mv v${VERSION} $PRGNAM.tar.gz +[ -e v${VERSION}.tar.gz ] && mv v${VERSION}.tar.gz $PRGNAM-${VERSION}.tar.gz rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT @@ -56,10 +56,10 @@ 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 {} \; ### build and install python setup.py install --root=$PKG @@ -77,9 +77,7 @@ install -m 0644 -D $PRGNAM.conf $PKG/etc/$PRGNAM.conf.new install -m 0644 docs/$PRGNAM.1 $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man1/$PRGNAM.1 -cp -a \ - COPYING README* $PRGNAM.conf* \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README* $PRGNAM.conf* $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs/INSTALL.html docs/MANUAL.html $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |