Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
update PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
JackMoriarty committed Jan 1, 2021
1 parent 224f266 commit 5689f1f
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions PKGBUILD
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"
}

0 comments on commit 5689f1f

Please sign in to comment.