blob: a48844ed2c73549cb24544135e3b45537f7a081a (
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
36
37
38
39
40
41
42
43
44
|
# Maintainer: Ikosse <andrelofgren@hotmail.co.uk>
pkgname=harbour-amazfish
pkgver=2.1.0
pkgrel=3
pkgdesc="Companion application for Huami Devices and the Pinetime Infinitime"
arch=('x86_64' 'aarch64')
url="https://github.com/piggz/harbour-amazfish"
provides=('amazfish')
license=('AGPL3')
depends=(
'qt5-base'
'karchive'
'kdb'
'kcontacts'
'qt5-location'
'qt5-connectivity'
'qtmpris'
'nemo-qml-plugin-dbus'
'kirigami2'
)
makedepends=('git')
source=("https://github.com/piggz/$pkgname/archive/refs/tags/$pkgver.tar.gz")
sha512sums=('16df8f7592f02a00bb995de5004ccddba8f8bcd479bdf75cff813d41752b13122c7c5decaa7287543722a5cb938e11c891552b1da171a42bc16e7fa464239f31')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
rm -rf qble daemon/libwatchfish
git init
git submodule add https://github.com/piggz/qble.git qble
git submodule add https://github.com/piggz/libwatchfish.git daemon/libwatchfish
}
build () {
cd "$srcdir/$pkgname-$pkgver"
qmake FLAVOR=kirigami PREFIX=/usr .
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make INSTALL_ROOT="$pkgdir" install
install -Dm644 daemon/harbour-amazfish.service "$pkgdir/usr/lib/systemd/system/harbour-amazfish.service"
}
|