summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2021-04-02 01:10:30 +0800
committertaotieren2021-04-02 01:10:30 +0800
commitb4474719e8a5ce4eb6985fe9c5cfbd63a2f27393 (patch)
tree3c75ef37113e6bf0fd26496e73085a99f8641380
downloadaur-dcda.tar.gz
Update dcda v1.0.1-beta
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore10
-rw-r--r--PKGBUILD36
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b818e41a506
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = dcda
+ pkgdesc = 本软件支持串口 / TCP Server / TCP Client 三合一的通讯调试工具。
+ pkgver = 1.0.1_beta
+ pkgrel = 1
+ url = https://gitee.com/danpey/dcda
+ arch = any
+ license = LGPL3
+ makedepends = git
+ makedepends = qt5-svg
+ makedepends = qt5-serialport
+ makedepends = qt5-multimedia
+ depends = qt5-svg
+ depends = qt5-serialport
+ depends = qt5-multimedia
+ provides = dcda
+ conflicts = dcda
+ options = !strip
+ source = dcda.tar.gz::https://gitee.com/danpey/dcda/repository/archive/beta-1.0.1?format=tar.gz
+ sha256sums = d4e24ad81ac3b08dfa343edf9ba68bb65ee41cee21093adc398adac8622d3ffa
+
+pkgname = dcda
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..07e75ac137e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+src
+pkg
+*.deb
+*.rpm
+*.zip
+*.gz
+*.pkg.tar.xz
+*.pkg.tar.zst
+*.log
+*.png
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"
+}