This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
224f266
commit 5689f1f
Showing
1 changed file
with
6 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,23 @@ | ||
# 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 <[email protected]> | ||
pkgname=HillstoneVPN | ||
# Contributor: Bangduo Chen <[email protected]> | ||
pkgname=hillstone-vpn | ||
pkgver=1.0.0 | ||
pkgrel=1 | ||
epoch= | ||
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" | ||
} |