[Slackbuilds-users] network/offlineimap distfile processing diff

LEVAI Daniel leva at ecentrum.hu
Tue Mar 25 15:40:08 UTC 2014


Hi!

I needed this to do `sbopkg -i offlineimap`:


diff --git a/network/offlineimap/offlineimap.SlackBuild b/network/offlineimap/offlineimap.SlackBuild
index 5973d22..74b091f 100644
--- a/network/offlineimap/offlineimap.SlackBuild
+++ b/network/offlineimap/offlineimap.SlackBuild
@@ -46,7 +46,7 @@ OUTPUT=${OUTPUT:-/tmp}
 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



Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F


More information about the SlackBuilds-users mailing list