new package: debpac (#432)
This commit is contained in:
parent
b0b825ee80
commit
5ed69b0339
21
x11-packages/debpac/build.sh
Normal file
21
x11-packages/debpac/build.sh
Normal 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
|
||||
}
|
13
x11-packages/debpac/debpac.pro.patch
Normal file
13
x11-packages/debpac/debpac.pro.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user