summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-23 23:27:34 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-23 23:27:34 -0600
commit8257aef942c673aac2de80de16753ffee99152f8 (patch)
treed3e97397aa77bb06aece3e5c1e9721155e37365b /java
parentb4f11c431f8a0a2b72bf9b4659a9b055e25e36b9 (diff)
retool java/java-sonatype-oss-parent
Diffstat (limited to 'java')
-rw-r--r--java/java-sonatype-oss-parent/PKGBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/java/java-sonatype-oss-parent/PKGBUILD b/java/java-sonatype-oss-parent/PKGBUILD
index f42f6adc5..b62c971ac 100644
--- a/java/java-sonatype-oss-parent/PKGBUILD
+++ b/java/java-sonatype-oss-parent/PKGBUILD
@@ -5,23 +5,17 @@ pkgver=7
pkgdesc="Metadata file for Maven-based build systems to inherit from"
license='Apache2'
-_groupId=org/sonatype/oss
+_groupId=org.sonatype.oss
_artifactId=oss-parent
pkgrel=1
arch=('any')
-depends=('maven')
-makedepends=('java-sonatype-oss-parent=7' 'jh')
+makedepends=('jh')
source=("http://search.maven.org/remotecontent?filepath=$_groupId/$_artifactId/$pkgver/$_artifactId-$pkgver.pom")
-build() {
- :
-}
-
package() {
cd "$srcdir"
- install -Dm644 $_artifactId-$pkgver.pom \
- "$pkgdir/`jh mvn-basename $_groupId $_artifactId $pkgver`".pom
+ DESTDIR=$pkgdir jh mvn-install $_groupId $_artifactId $pkgver $_artifactId-$pkgver.pom
}
md5sums=('3e418cf7f2607bf359e6c514a992cb38')