summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2465577b5a3cfd6a0b675b4c85de4b875c577859 (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
34
35
# Maintainer: Ioan Moldovan <ioan@iodev.science>

pkgname=fissh
pkgver=1.0.1
pkgrel=3

pkgdesc='SSH authentication via Android Fingerprint scanning (Desktop part)'
url='https://gitlab.com/ioanm/FiSSH-Desktop'
arch=('x86_64')
license=('MIT')

makedepends=('git' 'qt5-base')

source=('git+https://gitlab.com/ioanm/FiSSH-Desktop')
install='fissh.install'
sha256sums=('SKIP')

build () {
    cd FiSSH-Desktop
    qmake
    make
}

package () {
    cd FiSSH-Desktop
    mkdir -p $pkgdir/opt/FiSSH
    mkdir -p $pkgdir/usr/bin
    mkdir -p $pkgdir/usr/share/licenses/fissh

    cp FiSSH $pkgdir/opt/FiSSH/FiSSH 
    chmod +x $pkgdir/opt/FiSSH/FiSSH
    cp fissh-script $pkgdir/usr/bin/fissh
    chmod +x $pkgdir/usr/bin/fissh
    cp LICENSE $pkgdir/usr/share/licenses/fissh/LICENSE
}