summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-07-10 15:33:42 +0800
committerzxp198210052023-07-10 15:33:42 +0800
commit94c4ade10af42450432b9e985eaf50bad6d8e173 (patch)
tree99454c581e97503dadd48398065e0a02ca7b6e09
downloadaur-94c4ade10af42450432b9e985eaf50bad6d8e173.tar.gz
first release
-rw-r--r--.SRCINFO40
-rw-r--r--PKGBUILD26
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..76e6662be8f3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,40 @@
+pkgbase = cpeditor-bin
+ pkgdesc = The IDE for competitive programming Fetch, Code, Compile, Run, Check, Submit
+ pkgver = 6.10.3
+ pkgrel = 1
+ url = https://cpeditor.org/
+ arch = x86_64
+ license = GPL3
+ depends = xcb-util-image
+ depends = qt5-base
+ depends = libxkbcommon-x11
+ depends = xcb-util-wm
+ depends = qt5-svg
+ depends = xcb-util
+ depends = xcb-util-keysyms
+ depends = xcb-util-renderutil
+ depends = libxext
+ depends = zlib
+ depends = libgpg-error
+ depends = freetype2
+ depends = glibc
+ depends = libx11
+ depends = e2fsprogs
+ depends = bash
+ depends = fontconfig
+ depends = libxkbcommon
+ depends = libglvnd
+ depends = gcc-libs
+ depends = libxcb
+ optdepends = cf-tool: submit to Codeforces
+ optdepends = clang: C++ format and language server
+ optdepends = java-environment: compile Java
+ optdepends = java-runtime: execute Java
+ optdepends = python: execute Python
+ optdepends = wakatime: track coding stats
+ provides = cpeditor
+ conflicts = cpeditor
+ source = cpeditor-6.10.3.AppImage::https://github.com/cpeditor/cpeditor/releases/download/6.10.3/cpeditor-6.10.3-linux-amd64.deb
+ sha256sums = 47ce8cd065753557d04270dcd32d2bc8b737e3ce8a9a48e59017c0e0f4786a33
+
+pkgname = cpeditor-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..ba8f5e34a689
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
+pkgname="cpeditor-bin"
+pkgver=6.10.3
+pkgrel=1
+pkgdesc="The IDE for competitive programming Fetch, Code, Compile, Run, Check, Submit"
+arch=("x86_64")
+url="https://cpeditor.org/"
+_githuburl="https://github.com/cpeditor/cpeditor"
+license=("GPL3")
+depends=('xcb-util-image' 'qt5-base' 'libxkbcommon-x11' 'xcb-util-wm' 'qt5-svg' 'xcb-util' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libxext' \
+ 'zlib' 'libgpg-error' 'freetype2' 'glibc' 'libx11' 'e2fsprogs' 'bash' 'fontconfig' 'libxkbcommon' 'libglvnd' 'gcc-libs' 'libxcb')
+optdepends=(
+ 'cf-tool: submit to Codeforces'
+ 'clang: C++ format and language server'
+ 'java-environment: compile Java'
+ 'java-runtime: execute Java'
+ 'python: execute Python'
+ 'wakatime: track coding stats'
+)
+provides=("${pkgname%-bin}")
+conflicts=("${pkgname%-bin}")
+source=("${pkgname%-bin}-${pkgver}.AppImage::${_githuburl}/releases/download/${pkgver}/${pkgname%-bin}-${pkgver}-linux-amd64.deb")
+sha256sums=('47ce8cd065753557d04270dcd32d2bc8b737e3ce8a9a48e59017c0e0f4786a33')
+package() {
+ bsdtar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}"
+} \ No newline at end of file