updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / subgit / PKGBUILD
blob919a97ef5b88eecf60fbbd38a5bacd9d4c00550c
1 # Maintainer: Testuser_01 <arch@nico-siebler.de>
3 pkgname='subgit'
4 pkgver='1.0.0'
5 _pkgver='EAP_902'
6 pkgrel='2'
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=('23076af18eaaa8a37fdcaf55c60f0254'
15          '0b223c05000932e4ad4d5ea82ad658ae')
16 sha512sums=('48d52aadd9b509d73f675f3f0f8f57f0efc1e608c72bf4cb735687e040d32fb4150f4618252eff23b51ce60fb11e5fba3e5a0e6bb0551810515a7b479d8b0889'
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/"