updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / subgit / PKGBUILD
blob475b2ccd6843ecfe5463e2ebd872ca7c8d6d8628
1 # Maintainer: Testuser_01 <arch@nico-siebler.de>
3 pkgname=subgit
4 pkgver=1.0.0
5 _pkgver="-EAP_789"
6 pkgrel=1
7 pkgdesc="SubGit is a smooth Subversion to Git migration. Install once on the server side and use both Subversion and Git as long as you like."
8 arch=('any')
9 url="http://${pkgname}.com"
10 license=('unknown')
11 depends=('subversion' 'git' 'java-runtime>=5' 'java-environment>=5')
12 source=("http://${pkgname}.com/download/${pkgname}-${pkgver}${_pkgver}.zip"
13         'subgit')
14 md5sums=('4c294d4170f6894f789a05b384531da7'
15          '0b223c05000932e4ad4d5ea82ad658ae')
16 sha512sums=('5ee032b16f3afddbb189c3f31d2bc1dc286508b0b6984dfcfe5deb973ccbc41f81d207851143d0613c41ea36482e57ea15c490e4eb170e974834d158cdd7728f'
17             '91f61b4bf1d18b6642b70ea85578e4135d256f595961ff4378f9b989f7cb3131caec871edcdb7c5dfb8efa01e5ccf370988fd1e61186881e2fe3d75730cd6874')
19 build() {
20         mkdir -p "${pkgdir}/opt" "${pkgdir}/usr/bin" || return 1
21         cp -rp "${srcdir}/${pkgname}-${pkgver}${_pkgver}" "${pkgdir}/opt/subgit" || return 1
22         install -m0755 -D 'subgit' "${pkgdir}/usr/bin/"