Initial commit
This commit is contained in:
commit
c2b88a6748
23
.SRCINFO
Normal file
23
.SRCINFO
Normal file
@ -0,0 +1,23 @@
|
||||
pkgbase = apifox-bin
|
||||
pkgdesc = API 文档、API 调试、API Mock、API 自动化测试
|
||||
pkgver = 1.4.22
|
||||
pkgrel = 1
|
||||
url = https://www.apifox.cn/
|
||||
arch = x86_64
|
||||
license = custom
|
||||
depends = c-ares
|
||||
depends = ffmpeg
|
||||
depends = gtk3
|
||||
depends = libevent
|
||||
depends = libxslt
|
||||
depends = minizip
|
||||
depends = nss
|
||||
depends = re2
|
||||
depends = snappy
|
||||
options = !strip
|
||||
source = https://cdn.apifox.cn/download/Apifox-linux-latest.zip
|
||||
source = apifox.desktop
|
||||
sha256sums = 1984f0f0aa916272c223acf987a399b1e67486525a3dd7f04149a634f3477d0c
|
||||
sha256sums = 538bd986b582053799128254b4fcd6edfd51d096b127cf6398555664497d76b0
|
||||
|
||||
pkgname = apifox-bin
|
23
PKGBUILD
Normal file
23
PKGBUILD
Normal file
@ -0,0 +1,23 @@
|
||||
# Maintainer: hr567 <hr567@hr567.me>
|
||||
pkgname=apifox-bin
|
||||
pkgver=1.4.22
|
||||
pkgrel=1
|
||||
pkgdesc="API 文档、API 调试、API Mock、API 自动化测试"
|
||||
arch=("x86_64")
|
||||
url="https://www.apifox.cn/"
|
||||
license=('custom')
|
||||
depends=('c-ares' 'ffmpeg' 'gtk3' 'libevent' 'libxslt' 'minizip' 'nss' 're2' 'snappy')
|
||||
source=(
|
||||
"https://cdn.apifox.cn/download/Apifox-linux-latest.zip"
|
||||
"apifox.desktop")
|
||||
sha256sums=(
|
||||
'1984f0f0aa916272c223acf987a399b1e67486525a3dd7f04149a634f3477d0c'
|
||||
'538bd986b582053799128254b4fcd6edfd51d096b127cf6398555664497d76b0')
|
||||
options=(!strip)
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/Apifox.AppImage" "${pkgdir}/opt/apifox/Apifox.AppImage"
|
||||
install -Dm644 "${srcdir}/apifox.desktop" "${pkgdir}/usr/share/applications/apifox.desktop"
|
||||
mkdir -p "${pkgdir}/usr/bin"
|
||||
ln -sf "${pkgdir}/opt/apifox/Apifox.AppImage" "${pkgdir}/usr/bin"
|
||||
}
|
11
apifox.desktop
Normal file
11
apifox.desktop
Normal file
@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Name=Apifox
|
||||
Exec=/opt/apifox/Apifox.AppImage %U
|
||||
Comment=API 文档、API 调试、API Mock、API 自动化测试
|
||||
Comment[zh_CN]=API 文档、API 调试、API Mock、API 自动化测试
|
||||
Terminal=false
|
||||
Icon=Apifox
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
StartupWMClass=Apifox
|
||||
Categories=Network;Development;Utility;
|
Loading…
Reference in New Issue
Block a user