summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to '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