From 5689f1f9d0dee792f199b6608144375d1eff8c76 Mon Sep 17 00:00:00 2001 From: Bangduo Chen Date: Fri, 1 Jan 2021 22:22:08 +0800 Subject: [PATCH] update PKGBUILD --- PKGBUILD | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 7748578..4d7511a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,10 +1,6 @@ -# This is an example PKGBUILD file. Use this as a start to creating your own, -# and remove these comments. For more information, see 'man PKGBUILD'. -# NOTE: Please fill out the license field for your package! If it is unknown, -# then please put 'unknown'. - # Maintainer: Bangduo Chen <1413563527@qq.com> -pkgname=HillstoneVPN +# Contributor: Bangduo Chen <1413563527@qq.com> +pkgname=hillstone-vpn pkgver=1.0.0 pkgrel=1 epoch= @@ -12,29 +8,16 @@ pkgdesc="The Hillstone Secure Connect VPN client for Linux. " arch=(x86_64) url="http://docs.hillstonenet.com/en/Content/7_VPN/SSL_VPN_Client_L.htm#" license=('unknown') -groups=() -depends=() -makedepends=() -checkdepends=() -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() -install= changelog= -source=("https://github.com/JackMoriarty/HillstoneVPN/releases/download/v1.0.0/$pkgname-$pkgver.tar.gz") -noextract=() +source=("https://github.com/JackMoriarty/HillstoneVPN/releases/download/v1.0.0/HillstoneVPN-$pkgver.tar.gz") md5sums=('bb0301e31bdaf7c6bcbafae8e74cd3d6') -validpgpkeys=() package() { - tar -zxvf "$pkgname-$pkgver.tar.gz" -C "${srcdir}" + tar -zxvf "HillstoneVPN-$pkgver.tar.gz" -C "${srcdir}" install -d "${pkgdir}/opt" - cp -r "${srcdir}/$pkgname" "${pkgdir}/opt" + cp -r "${srcdir}/$HillstoneVPN" "${pkgdir}/opt" install -d "${pkgdir}/usr/share/applications" - install -Dm755 "${srcdir}/$pkgname/HillstoneVPN.desktop" "${pkgdir}/usr/share/applications" + install -Dm755 "${srcdir}/HillstoneVPN/HillstoneVPN.desktop" "${pkgdir}/usr/share/applications" }