blob: 9a564777e65d8f55ca567317c1d1ede730522a07 (
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
|
#-*- mode: sh; -*-
# Maintainer: Bart Libert <bart dot libert at gmail dot com>
pkgname=onhub_desktop_client-git
pkgver=5fd6fdc
pkgrel=2
pkgdesc='A desktop client for Google Onhub routers'
arch=('x86_64')
url='https://github.com/AngeloD2022/OnHubDesktop'
license=('GPL3')
depends=('qt5-webengine' 'qt5-charts')
makedepends=('git')
provides=("OnHubDesktopClient")
source=("$pkgname::git+https://github.com/AngeloD2022/OnHubDesktop.git#branch=master")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
qmake OnHubDesktopClient.pro
make
}
package() {
install -Dm644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm755 "$srcdir/$pkgname/OnHubDesktopClient" "$pkgdir/usr/bin/OnHubDesktopClient"
}
|