diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a3b8af9e8355 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Chen Cui <chentsuei@gmail.com> + +pkgname=easyconnect-sdu +pkgver=7.6.3.0.86415 +pkgrel=1 +pkgdesc="Accessing SDU's network resources over vpn connection." +arch=('x86_64') +url="https://vpn.sdu.edu.cn/com/installClient.html" +license=('custom') +conflicts=('easyconnect') +install=${pkgname}.install +source=("http://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_01/EasyConnect_x64.deb" + "http://ftp.acc.umu.se/pub/GNOME/sources/pango/1.42/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" +} + |