aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/apache-maven/README2
-rw-r--r--development/apache-maven/apache-maven.SlackBuild8
-rw-r--r--development/apache-maven/apache-maven.info2
-rw-r--r--development/apache-maven/slack-desc2
4 files changed, 10 insertions, 4 deletions
diff --git a/development/apache-maven/README b/development/apache-maven/README
index 6b7a3a60010a..ee17045f1ec6 100644
--- a/development/apache-maven/README
+++ b/development/apache-maven/README
@@ -1,4 +1,4 @@
Maven is a software project management and comprehension tool.
Based on the concept of a Project Object Model (POM), Maven can
manage a project's build, reporting and documentation from a
-central piece of information. \ No newline at end of file
+central piece of information.
diff --git a/development/apache-maven/apache-maven.SlackBuild b/development/apache-maven/apache-maven.SlackBuild
index 84c978a54c97..1debd8a347c7 100644
--- a/development/apache-maven/apache-maven.SlackBuild
+++ b/development/apache-maven/apache-maven.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=apache-maven
VERSION=2.2.1
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -43,6 +43,12 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-bin.tar.bz2
cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \;
mkdir -p $PKG/$MAVEN_HOME $PKG/usr/{bin,share/java}
cp -a bin boot conf lib $PKG/$MAVEN_HOME
diff --git a/development/apache-maven/apache-maven.info b/development/apache-maven/apache-maven.info
index 9255b47b7523..00d21617914e 100644
--- a/development/apache-maven/apache-maven.info
+++ b/development/apache-maven/apache-maven.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
-APPROVED="rworkman"
+APPROVED="Niels Horn"
diff --git a/development/apache-maven/slack-desc b/development/apache-maven/slack-desc
index 7853d1313708..e024213d67f5 100644
--- a/development/apache-maven/slack-desc
+++ b/development/apache-maven/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler-----------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
apache-maven: Apache Maven (Software project management)
apache-maven:
apache-maven: Maven is a software project management and comprehension tool.