From 7f0dff3cab3ce1c605f0975eae81a06609625e02 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 5 Mar 2012 00:50:46 -0500 Subject: add stub for using system maven packages --- libre/maven-libre/PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libre/maven-libre') 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 -- cgit v1.2.3-54-g00ecf