summaryrefslogtreecommitdiff
path: root/libre/maven-libre
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-03-05 00:50:46 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-03-05 00:50:46 -0500
commit7f0dff3cab3ce1c605f0975eae81a06609625e02 (patch)
tree5bb9d2d326493ad5de7736446f68ef39573f0027 /libre/maven-libre
parentc35cb9bfafc3dd7c7294aeb1a6e0b0d8c0562b0f (diff)
add stub for using system maven packages
Diffstat (limited to 'libre/maven-libre')
-rw-r--r--libre/maven-libre/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/maven-libre/PKGBUILD b/libre/maven-libre/PKGBUILD
index 5ed656245..2bd99940e 100644
--- a/libre/maven-libre/PKGBUILD
+++ b/libre/maven-libre/PKGBUILD
@@ -38,14 +38,16 @@ build() {
# FIXME: Downloads many deps from Internet. They should be
# packaged separately and added to depends=()
- # FIXME: Does things that should be in package()
- install -d "$pkgdir$_M2_LOCALREPO"
+ install -d "$pkgdir`dirname $_M2_LOCALREPO`"
+ cp -r $_M2_LOCALREPO "$pkgdir$_M2_LOCALREPO"
install -d "$pkgdir"/opt
ant -Dmaven.repo.local="$pkgdir$_M2_LOCALREPO"
rm "$pkgdir"/opt/maven/*.txt
}
package() {
+ install -d "$pkgdir$_M2_LOCALREPO"
+
# Install config file in /etc
# Unlike the other directories, we symlink from the system to /opt/maven
# because that way all conf files stay in /etc