aboutsummaryrefslogtreecommitdiffstats
path: root/community/maven/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/maven/APKBUILD')
-rw-r--r--community/maven/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/community/maven/APKBUILD b/community/maven/APKBUILD
index 9d2a1560b7..d307ee06e8 100644
--- a/community/maven/APKBUILD
+++ b/community/maven/APKBUILD
@@ -4,7 +4,7 @@
pkgname=maven
pkgver=3.5.4
_pkgname="$pkgname-${pkgver%%.*}"
-pkgrel=0
+pkgrel=1
pkgdesc="A Java project management and project comprehension tool."
url="http://maven.apache.org"
arch="noarch"
@@ -23,19 +23,19 @@ package() {
mkdir -p -m755 "$destdir/$dir"
done
- install -m644 -Dt "$destdir"/bin ./bin/*.conf || return 1
- install -m644 -Dt "$destdir"/boot ./boot/*.jar || return 1
- install -m644 -Dt "$destdir"/lib ./lib/*.jar || return 1
- cp -Rp ./conf "$destdir"/ || return 1
+ install -m644 -Dt "$destdir"/bin ./bin/*.conf
+ install -m644 -Dt "$destdir"/boot ./boot/*.jar
+ install -m644 -Dt "$destdir"/lib ./lib/*.jar
+ cp -Rp ./conf "$destdir"/
- mkdir -p "$pkgdir"/usr/bin || return 1
+ mkdir -p "$pkgdir"/usr/bin
local file; for file in mvn mvnDebug mvnyjp; do
- install -m755 -Dt "$destdir"/bin ./bin/$file || return 1
- ln -sf "$m2_home"/bin/$file "$pkgdir"/usr/bin/$file || return 1
+ install -m755 -Dt "$destdir"/bin ./bin/$file
+ ln -sf "$m2_home"/bin/$file "$pkgdir"/usr/bin/$file
done
- mkdir "$pkgdir"/etc || return 1
+ mkdir "$pkgdir"/etc
cat > "$pkgdir"/etc/mavenrc <<-EOF
M2_HOME="$m2_home"
MAVEN_OPTS="\$MAVEN_OPTS -Xmx512m"