diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2018-06-24 10:20:34 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-24 10:24:48 +0000 |
commit | b2de6d33b506b96e66f89c9181e4afddfbe85e78 (patch) | |
tree | 333a7a19b6c1b460dbcb1df51a11314390e6a0f5 /community/maven | |
parent | d34bdff6f15392a821d5695afbe8143e0d7b41f5 (diff) | |
download | aports-b2de6d33b506b96e66f89c9181e4afddfbe85e78.tar.bz2 aports-b2de6d33b506b96e66f89c9181e4afddfbe85e78.tar.xz |
community/maven: tidy up APKBUILD
* removes unnecessary return code checks
Diffstat (limited to 'community/maven')
-rw-r--r-- | community/maven/APKBUILD | 18 |
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" |