new package: debpac (#432)

This commit is contained in:
Yisus7u7 2021-09-10 13:33:43 -05:00 committed by Yaksh Bariya
parent b0b825ee80
commit 5ed69b0339
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,21 @@
TERMUX_PKG_HOMEPAGE=https://github.com/ThiBsc/debpac
TERMUX_PKG_DESCRIPTION="A Debian package creator assistant"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Yisus7u7 <jesuspixel5@gmail.com>"
TERMUX_PKG_VERSION=1.7
TERMUX_PKG_SRCURL="https://github.com/ThiBsc/debpac/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=402f9dfcc739fb64666832f1a0d5b47295c900a22232150af4cc069b420515c9
TERMUX_PKG_DEPENDS="qt5-qtbase, qt5-qtsvg"
TERMUX_PKG_BUILD_DEPENDS="qt5-qtbase-cross-tools, qt5-qttools-cross-tools"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_configure () {
"${TERMUX_PREFIX}/opt/qt/cross/bin/qmake" \
-spec "${TERMUX_PREFIX}/lib/qt/mkspecs/termux-cross" \
PREFIX="${TERMUX_PREFIX}"
}
termux_step_make_install () {
cd ${TERMUX_PKG_SRCDIR}
install -Dm700 ${TERMUX_PREFIX}/bin ./debpac
}

View File

@ -0,0 +1,13 @@
diff --git a/debpac.pro b/debpac.pro
index 96c2353..dac466c 100644
--- a/debpac.pro
+++ b/debpac.pro
@@ -5,7 +5,7 @@
#-------------------------------------------------
QT += core gui
-
+DEFINES += USE_TERMUX_PATH
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QMAKE_CXXFLAGS += -std=c++11