This commit is contained in:
Metiis
2018-11-20 00:20:22 +01:00
parent 37923df26b
commit ae41664c81
2 changed files with 4 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = nordvpn-bin pkgbase = nordvpn-bin
pkgdesc = NordVPN CLI tool for Linux pkgdesc = NordVPN CLI tool for Linux
pkgver = 2.0.0 pkgver = 2.0.0
pkgrel = 1 pkgrel = 2
url = https://nordvpn.com/download/linux/ url = https://nordvpn.com/download/linux/
arch = x86_64 arch = x86_64
license = custom license = custom

View File

@@ -1,6 +1,6 @@
pkgname=nordvpn-bin pkgname=nordvpn-bin
pkgver=2.0.0 pkgver=2.0.0
pkgrel=1 pkgrel=2
pkgdesc="NordVPN CLI tool for Linux" pkgdesc="NordVPN CLI tool for Linux"
arch=('x86_64') arch=('x86_64')
url="https://nordvpn.com/download/linux/" url="https://nordvpn.com/download/linux/"
@@ -14,4 +14,6 @@ sha256sums=('7013e7d0c9e51cc604147eafc61b5c47c05a3e347c47ff556b3d5ec7f3717831')
package() { package() {
bsdtar -O -xf "nordvpn_${pkgver}_amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf - bsdtar -O -xf "nordvpn_${pkgver}_amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
mv "${pkgdir}/usr/sbin/nordvpnd" "${pkgdir}/usr/bin"
rm -r "${pkgdir}/usr/sbin"
} }