summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4366f43d26efae7a56b74513e7ce75a2f3a4d5dc (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
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: TDY <tdy@gmx.com>

pkgname=qssh
pkgver=1.4.3
pkgrel=3
pkgdesc="System tray that connects and monitors the status of ssh tunnels"
arch=('i686' 'x86_64')
url="http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=qssh&full=0"
license=('GPL2')
depends=('openssh' 'qt4')
makedepends=('cmake')
source=(http://hugo.pereira.free.fr/software/tgz/qssh-$pkgver.tar.gz)
md5sums=('20630799605d3cb8759582ddfb227f35')

build() {
  cd $pkgname-$pkgver
  #qmake-qt4 qssh.pro
  cmake . \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=Release \
        -DQT_QMAKE_EXECUTABLE=qmake-qt4
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 qssh.desktop "$pkgdir/usr/share/applications/qssh.desktop"
  install -Dm644 qssh.png "$pkgdir/usr/share/pixmaps/qssh.png"
}