diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/java-sonatype-oss-parent/PKGBUILD | 12 |
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') |