Skip to content

Commit

Permalink
pkg: danctnix: amazfish: new pkgbuild
Browse files Browse the repository at this point in the history
Signed-off-by: Danct12 <[email protected]>
  • Loading branch information
Danct12 committed Mar 23, 2021
1 parent 127f9ba commit dca1dbe
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions PKGBUILDS/danctnix/amazfish/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Maintainer: Bernhard Landauer <[email protected]>

pkgname=amazfish
_repo=harbour-$pkgname
pkgver=1.9.8
pkgrel=1
pkgdesc='Companion application for the Huami Amazfit Bip, Cor, MiBand2/3 and GTS'
arch=('x86_64' 'aarch64')
license=(GPL3)
url="https://github.com/piggz/$_repo"
makedepends=('git')
depends=('kcontacts' 'dbus' 'kdb' 'kirigami2' 'mlite' 'mpris-qt5' 'qt5-connectivity' 'qt5-location' 'qt5-quickcontrols2')
_commit="e1e9ba8571823d0971b19c92f67652428c1073b6" # v1.9.8
_commit_libwatchfish="e3bf99e47c8c339b15eb4c8d6a485c22e9c7c2cd"
source=("git+$url.git#commit=$_commit"
"git+https://github.com/piggz/libwatchfish.git#commit=$_commit_libwatchfish")
md5sums=('SKIP'
'SKIP')

prepare() {
cd $_repo
git submodule init
git config submodule.libwatchfish.git.url $srcdir/libwatchfish
git submodule update
}

build() {
cd $_repo
qmake-qt5 FLAVOR=kirigami PREFIX=/usr
make
}

package() {
cd $_repo
make INSTALL_ROOT="$pkgdir" install
}

0 comments on commit dca1dbe

Please sign in to comment.