mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
26 lines
801 B
Bash
26 lines
801 B
Bash
# $Id: PKGBUILD 2020 2009-09-07 14:42:18Z spupykin $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: William Rea <sillywilly@gmail.com>
|
|
|
|
pkgname=maven
|
|
pkgver=2.2.1
|
|
pkgrel=2
|
|
pkgdesc="A Java project management and project comprehension tool"
|
|
arch=('any')
|
|
url="http://maven.apache.org"
|
|
license=('APACHE')
|
|
depends=('java-environment')
|
|
backup=(opt/maven/conf/settings.xml)
|
|
source=(http://apache.rinet.ru/dist/maven/binaries/apache-maven-$pkgver-bin.tar.bz2 \
|
|
maven.sh)
|
|
md5sums=('c581a15cb0001d9b771ad6df7c8156f8'
|
|
'e814d99226b16ebd1ef61147f579af56')
|
|
|
|
build() {
|
|
cd $startdir/src
|
|
mkdir $startdir/pkg/opt
|
|
mv apache-maven-$pkgver $startdir/pkg/opt/maven
|
|
install -D -m 755 $startdir/src/maven.sh $startdir/pkg/etc/profile.d/maven.sh
|
|
|
|
rm $startdir/pkg/opt/maven/*.txt
|
|
}
|