summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5359ce912a39a000c1665abe7f5db14c3997b1b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Sharky <sharky@sharky.pw>
# Maintainer: Carlo Sala <carlosalag@protonmail.com>

pkgname=surfshark-vpn
pkgver=1.1.0
pkgrel=2
pkgdesc="Surfshark VPN client"
arch=('x86_64')
url="https://surfshark.com/download/linux"
license=('custom:surfshark')
depends=(glibc openvpn)
source=("https://ocean.surfshark.com/debian/pool/main/s/surfshark-vpn/surfshark-vpn_${pkgver}_amd64.deb")
sha256sums=('5ef76e6a9f61272ff927ccd965fce4b752de1083c3c4b25aecee513515cca819')

prepare() {
    tar xf data.tar.xz
    gunzip -f usr/share/doc/surfshark-vpn/changelog.gz
}

package() {
    install -Dm 755 "${srcdir}/usr/bin/surfshark-vpn" -t "${pkgdir}/usr/bin/"
    install -Dm 644 "${srcdir}/usr/share/doc/surfshark-vpn/changelog" -t "${pkgdir}/usr/share/doc/${pkgname}/"
}