From 90659729131deb0bcaced168d9d932cd49c8ce7d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 26 Sep 2012 17:10:23 -0400 Subject: mv libre/maven-libre java-ugly/maven --- libre/maven-libre/PKGBUILD | 76 --------------------------------------------- libre/maven-libre/maven.csh | 2 -- libre/maven-libre/maven.sh | 3 -- 3 files changed, 81 deletions(-) delete mode 100755 libre/maven-libre/PKGBUILD delete mode 100755 libre/maven-libre/maven.csh delete mode 100755 libre/maven-libre/maven.sh (limited to 'libre') diff --git a/libre/maven-libre/PKGBUILD b/libre/maven-libre/PKGBUILD deleted file mode 100755 index 2bd99940e..000000000 --- a/libre/maven-libre/PKGBUILD +++ /dev/null @@ -1,76 +0,0 @@ -# Maintainer: Luke Shumaker -# Maintainer (Arch): Sergej Pupykin -# Contributor: William Rea - -_pkgname=maven -pkgname=maven-libre -pkgver=3.0.4 - -provides=("$_pkgname=$pkgver") -replaces=("$_pkgname") -conflicts=("$_pkgname") - -pkgrel=1 -pkgdesc="A Java project management and project comprehension tool" -arch=('any') -url="http://maven.apache.org" -license=('Apache') -depends=('java-environment') -makedepends=('apache-ant') -backup=('etc/maven/settings.xml') - -_mirror=http://archive.apache.org/dist -source=($_mirror/maven/source/apache-maven-$pkgver-src.tar.gz - maven.sh maven.csh) - -_M2_LOCALREPO="/usr/share/maven/repository" - -# FIXME: This also does tasks for package() -build() { - cd $srcdir/apache-maven-$pkgver - - . /etc/profile.d/jre.sh - . /etc/profile.d/jdk.sh - - export MAVEN_OPTS=-Xmx512m - export M2_HOME="$pkgdir"/opt/maven - export PATH="$PATH:$M2_HOME/bin" - - # FIXME: Downloads many deps from Internet. They should be - # packaged separately and added to depends=() - 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 - install -d "$pkgdir"/etc/maven - sed "55i$_M2_LOCALREPO" \ - < "$pkgdir"/opt/maven/conf/settings.xml \ - > "$pkgdir"/etc/maven/settings.xml - rm -rf "$pkgdir"/opt/maven/conf - ln -s /etc/maven "$pkgdir"/opt/maven/conf - - # Install profile.d settings - install -d "$pkgdir"/etc/profile.d - install -m 755 "$srcdir"/maven.{csh,sh} "$pkgdir"/etc/profile.d - - # Link executables to /usr/bin - install -d "$pkgdir"/usr/bin - ln -s /opt/maven/bin/{mvn,mvnDebug,mvnyjp} "$pkgdir"/usr/bin - - # Link jar files to appropriate place in /usr/share - install -d "$pkgdir"/usr/share/java - ln -s /opt/maven/lib "$pkgdir"/usr/share/java/maven -} - -md5sums=('17ca94d5be05a78c6ab12425b7a0ee10' - '58820067a4d7384477daa134023d9b57' - 'e2bbdeffed100cd51d05b2ba8ebd6321') diff --git a/libre/maven-libre/maven.csh b/libre/maven-libre/maven.csh deleted file mode 100755 index f5750cfc8..000000000 --- a/libre/maven-libre/maven.csh +++ /dev/null @@ -1,2 +0,0 @@ -setenv MAVEN_OPTS -Xmx512m -setenv M2_HOME=/opt/maven diff --git a/libre/maven-libre/maven.sh b/libre/maven-libre/maven.sh deleted file mode 100755 index b6655cc22..000000000 --- a/libre/maven-libre/maven.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -export MAVEN_OPTS=-Xmx512m -export M2_HOME=/opt/maven -- cgit v1.2.3