2022-02-08 11:38:09 +00:00
|
|
|
# Maintainer: hr567 <hr567@hr567.me>
|
2022-02-08 11:41:45 +00:00
|
|
|
pkgname=apifox
|
2022-06-01 08:46:14 +00:00
|
|
|
pkgver=2.1.19
|
2022-02-08 11:38:09 +00:00
|
|
|
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=(
|
2022-06-01 08:46:14 +00:00
|
|
|
'2d4d2da1837046bd005d4394630a2b656e498a8f4d417fc7147a8c03adfee367'
|
2022-02-08 11:38:09 +00:00
|
|
|
'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"
|
|
|
|
}
|