summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authortaotieren2021-04-02 01:10:30 +0800
committertaotieren2021-04-02 01:10:30 +0800
commitb4474719e8a5ce4eb6985fe9c5cfbd63a2f27393 (patch)
tree3c75ef37113e6bf0fd26496e73085a99f8641380 /PKGBUILD
downloadaur-b4474719e8a5ce4eb6985fe9c5cfbd63a2f27393.tar.gz
Update dcda v1.0.1-beta
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c6779b877bb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: taotieren <admin@taotieren.com>
+
+_pkgname=dcda
+pkgname=dcda
+pkgver=1.0.1_beta
+pkgrel=1
+pkgdesc="本软件支持串口 / TCP Server / TCP Client 三合一的通讯调试工具。"
+arch=('any')
+url="https://gitee.com/danpey/dcda"
+license=('LGPL3')
+provides=(${pkgname})
+conflicts=(${pkgname})
+#replaces=(${pkgname})
+depends=('qt5-svg' 'qt5-serialport' 'qt5-multimedia')
+makedepends=('git' 'qt5-svg' 'qt5-serialport' 'qt5-multimedia')
+backup=()
+options=('!strip')
+#install=${pkgname}.install
+source=("${_pkgname}.tar.gz::https://gitee.com/danpey/${_pkgname}/repository/archive/beta-1.0.1?format=tar.gz")
+sha256sums=('d4e24ad81ac3b08dfa343edf9ba68bb65ee41cee21093adc398adac8622d3ffa')
+
+build()
+{
+ tar -zxf "${srcdir}/${_pkgname}.tar.gz" -C "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${_pkgname}/"
+ mkdir build && cd build && qmake ../ && make
+}
+
+package()
+{
+ install -Dm644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+ cd ${srcdir}/${_pkgname}/pkg/
+ cp --preserve=mode -r applications icons metainfo "${pkgdir}/usr/share/"
+ install -Dm755 "${srcdir}/${_pkgname}/build/DCDA_Renew/DCDA_Renew" "${pkgdir}/usr/bin/dcda_renew"
+ install -Dm755 "${srcdir}/${_pkgname}/build/DanpeCommDubugAssist/DanpeCommDubugAssist" "${pkgdir}/usr/bin/danpecommdubugassist"
+}