termux-packages/x11-packages/qgit/build.sh

22 lines
813 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://github.com/tibirna/qgit
TERMUX_PKG_DESCRIPTION="A git GUI viewer"
TERMUX_PKG_LICENSE="GPL-2.0"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2019-10-28 14:21:59 +01:00
# Version update requires also bumping the qt5-base package in order to get tools
# working on host (x86_64).
TERMUX_PKG_VERSION=2.9
2020-06-01 23:59:34 +02:00
TERMUX_PKG_REVISION=11
TERMUX_PKG_SRCURL=https://github.com/tibirna/qgit/archive/qgit-${TERMUX_PKG_VERSION}.tar.gz
2019-10-28 14:21:59 +01:00
TERMUX_PKG_SHA256=69788efda7d434d1bc094bb414bd92c269dc7894326320634500b05d63c008e8
2018-11-23 21:33:23 +01:00
TERMUX_PKG_DEPENDS="git, hicolor-icon-theme, qt5-base"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_configure() {
termux_setup_cmake
cmake . \
-DCMAKE_INSTALL_PREFIX="${TERMUX_PREFIX}" \
-DQt5_DIR="${TERMUX_PREFIX}/lib/cmake/Qt5" \
-DQt5Core_DIR="${TERMUX_PREFIX}/lib/cmake/Qt5Core"
}