updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / sshgate-client / PKGBUILD
bloba3df4eec53f4faf98f1b3af9cf678227b28110e0
1 # Contributor: max-k <max-k@post.com>
3 pkgname="sshgate-client"
4 _pkgname="sshGate-client"
5 pkgver="0.2.beta"
6 pkgrel=2
7 pkgdesc="Small script to help to use sshGate server"
8 arch=(i686 x86_64)
9 url="https://github.com/Tauop/sshGate-client"
10 license=('GPLv2')
11 depends=('scripthelper')
12 optdepends=()
13 conflicts=()
14 install='install'
16 source=(
17   "https://github.com/downloads/Tauop/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
18   "bash_completion"
21 md5sums=(
22   '6c8e14d38ac7754c793675415a9902fd'
23   'f37e8c7cc1b1b1955bf06404aa97a6e0'
27 build() {
28 cd ${startdir}/src/${_pkgname}-${pkgver}
29 install -D -m 644 COPYING ${startdir}/pkg/usr/share/licences/${pkgname}/COPYING
30 install -D -m 644 README ${startdir}/pkg/usr/share/doc/${pkgname}/README
31 mkdir -p ${startdir}/pkg/usr/local/bin
32 sed -i 's/sshgate-client-configure/#sshgate-client-configure/' sshg
33 sed -i 's/sshgate-client-configure/#sshgate-client-configure/' scpg
34 install -D -m 755 {sshg,scpg,sshgate-client-configure} ${startdir}/pkg/usr/local/bin/
35 install -D -m 644 ${startdir}/bash_completion ${startdir}/pkg/usr/share/${pkgname}/bash_completion