21 lines
731 B
Bash
21 lines
731 B
Bash
_pkgname=access-one
|
|
pkgname=tink-${_pkgname}
|
|
pkgver=2.22.2
|
|
pkgrel=1
|
|
pkgdesc="ChinaTelecom AOne (${_pkgname}) VPN"
|
|
arch=(x86_64)
|
|
url="https://aone.ctyun.cn/h5/ct0trust/index.html#/terminalManage/clientDownload?key=C4C330843B2111C9EE134125AF2C43FE"
|
|
license=(EULA)
|
|
depends=(libxtst nss iptables-nft)
|
|
install=${_pkgname}.install
|
|
source=('https://soc-0trust.ctcdn.cn/client/20250924002450-AOne-2.22.2-Ubuntu-X64-release-20250902152242.deb')
|
|
sha256sums=('1d091e26632c29e48ca7fefa563d1ce491e4cb45497ea02b32defad47c199e60')
|
|
|
|
package(){
|
|
tar -xf data.tar.xz -C ${pkgdir}/
|
|
mkdir ${pkgdir}/opt/AOne/control-scripts/
|
|
tar -xf control.tar.gz -C ${pkgdir}/opt/AOne/control-scripts/
|
|
chmod +x ${pkgdir}/opt/AOne/control-scripts/*
|
|
}
|
|
|