diff options
Diffstat (limited to 'development/nexus')
-rw-r--r-- | development/nexus/nexus.SlackBuild | 10 | ||||
-rw-r--r-- | development/nexus/nexus.info | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/development/nexus/nexus.SlackBuild b/development/nexus/nexus.SlackBuild index 44687b4b1b..80379f409a 100644 --- a/development/nexus/nexus.SlackBuild +++ b/development/nexus/nexus.SlackBuild @@ -23,10 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=nexus -VERSION=${VERSION:-2.5.0-04} +VERSION=${VERSION:-2.5.0_04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVERSION=$(echo $VERSION | tr _ -) + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -67,9 +69,9 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-bundle.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION-bundle.tar.gz +cd $PRGNAM-$SRCVERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/development/nexus/nexus.info b/development/nexus/nexus.info index d9b25d013b..bf5c28da85 100644 --- a/development/nexus/nexus.info +++ b/development/nexus/nexus.info @@ -1,5 +1,5 @@ PRGNAM="nexus" -VERSION="2.5.0-04" +VERSION="2.5.0_04" HOMEPAGE="http://nexus.sonatype.org" DOWNLOAD="http://www.sonatype.org/downloads/nexus-2.5.0-04-bundle.tar.gz" MD5SUM="9ba35b7b72c2e2eff87298b4c1e77a9a" |