Skip to content
Snippets Groups Projects
Commit a8512989 authored by Mark Wagie's avatar Mark Wagie
Browse files

[pkg-upd] 2.0.8+21+g1656e09-1

- bump to latest commit to support InfiniTime resources
parent ca8c4832
No related branches found
No related tags found
No related merge requests found
Pipeline #9490 passed
......@@ -3,33 +3,44 @@
pkgname=amazfish
_pkgname=harbour-$pkgname
pkgver=2.0.8
pkgver=2.0.8+21+g1656e09
pkgrel=1
pkgdesc='Companion application for the Huami Amazfit Bip, Cor, MiBand2/3 and GTS and PineTime'
pkgdesc="Companion application for Huami Devices and the Pinetime Infinitime"
arch=('x86_64' 'aarch64')
license=(GPL3)
url="https://github.com/piggz/$_pkgname"
url="https://github.com/piggz/harbour-amazfish"
license=('GPL3')
depends=('bluez-qt' 'karchive' 'kcontacts' 'kdb' 'kirigami2' 'mlite' 'nemo-qml-plugin-dbus'
'qt5-connectivity' 'qt5-location' 'qt5-quickcontrols2' 'qtmpris')
makedepends=('git')
depends=('kcontacts' 'kdb' 'kirigami2' 'mlite' 'qtmpris' 'qt5-connectivity' 'qt5-location' 'qt5-quickcontrols2' 'nemo-qml-plugin-dbus')
source=("git+$url#tag=$pkgver"
"git+https://github.com/piggz/libwatchfish.git")
md5sums=('SKIP'
'SKIP')
install="$pkgname.install"
_commit=1656e093ba2cac4effaf31fe34c04cf99c9a0119 # master
source=("git+https://github.com/piggz/harbour-amazfish.git#commit=${_commit}"
'git+https://github.com/piggz/libwatchfish.git'
'git+https://github.com/piggz/qble.git')
sha256sums=('SKIP'
'SKIP'
'SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $_pkgname
cd "$srcdir/${_pkgname}"
git submodule init
git config submodule.libwatchfish.git.url $srcdir/libwatchfish
git config submodule.daemon/libwatchfish.url $srcdir/libwatchfish
git config submodule.qble.url $srcdir/qble
git submodule update
}
build() {
cd $_pkgname
cd "$srcdir/${_pkgname}"
qmake-qt5 FLAVOR=kirigami PREFIX=/usr
make
}
package() {
cd $_pkgname
cd "$srcdir/${_pkgname}"
make INSTALL_ROOT="$pkgdir" install
}
post_install() {
echo "Enable & start the user service:"
echo ""
echo "systemctl --user enable --now harbour-amazfish"
echo ""
}
post_upgrade() {
echo ""
echo "Restart the service:"
echo "systemctl --user daemon-reload"
echo "systemctl --user restart harbour-amazfish"
echo ""
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment