summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05f816746f5ea09c498f56a61c9a176d495d78b0 (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
25
26
27
28
29
30
31
32
33
# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>

pkgname=qssh-git
pkgver=r165.2f277a1
pkgrel=1
pkgdesc='A Qt based implementation of SSH and SFTP'
arch=('i686' 'x86_64')
url='https://github.com/sandsmark/QSsh'
license=('LGPL')
depends=('qt5-base' 'botan')
makedepends=('qt5-base')
conflicts=(qssh)
provides=(qssh)
source=('git://github.com/sandsmark/QSsh.git')
md5sums=('SKIP')

pkgver() {
  cd QSsh
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd QSsh
  qmake
  make
}

package() {
  cd QSsh
  make INSTALL_ROOT="$pkgdir" install
  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"

}