summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 393bfc3cf75b84401e6b64d42edd1f41a3b727d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Andrew Sun <adsun701 at gmail dot com>
# Contributor: Avi Knoll <aknoll at atlassian dot com>

pkgname=mvnvm
pkgver=1.0.29
pkgrel=1
pkgdesc="Maven version manager"
arch=('any')
url="https://bitbucket.org/mjensen/mvnvm/"
license=('Apache')
depends=('sh')
conflicts=('maven')
provides=('maven')
source=("https://bitbucket.org/mjensen/mvnvm/get/${pkgname}-${pkgver}.tar.bz2")
noextract=("${pkgname}-${pkgver}.tar.bz2")
sha256sums=('decc588c89fba7f5e2d5a8e7e2c4586f6a3b92c8b24f572dd2a424b935e515de')

prepare() {
  tar --strip-components 1 -C "${srcdir}" -xf "${pkgname}-${pkgver}.tar.bz2"
}

package() {
  install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/mvn"{,Debug}
}