-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
24 lines (23 loc) · 1.08 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: jialeens <jialeadmin@163.com>
pkgname=easyconnect
pkgver=1.0.0
pkgrel=1
pkgdesc="Support access to ssl vpn. With easyconect,you can secure and speed up connection to cooperate network at ease!"
arch=('x86_64')
url="http://www.sangfor.com.cn"
license=('custom')
install=${pkgname}.install
source=("http://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_01/EasyConnect_x64.deb"
"pango-1.42.4.tar.xz")
md5sums=('6ed6273f7754454f19835a456ee263e3'
'deb171a31a3ad76342d5195a1b5bbc7c')
package(){
tar xzf data.tar.gz -C "${pkgdir}"
tar xf ${srcdir}/pango-1.42.4.tar.xz
cd pango-1.42.4
./configure --prefix=/usr
make -j4 && make DESTDIR=${pkgdir}"/usr/share/sangfor/EasyConnect/oldlib/pango" install
cd ${pkgdir}
sed -i 's/Exec=/Exec=env LD_LIBRARY_PATH=\/usr\/share\/sangfor\/EasyConnect\/oldlib\/pango\/usr\/lib /g' "${pkgdir}/usr/share/applications/EasyConnect.desktop"
install -D -m644 "${pkgdir}/usr/share/sangfor/EasyConnect/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}