Initial commit

This commit is contained in:
Julius
2018-08-29 14:13:20 +02:00
commit 8c4f5cfeb4
2 changed files with 34 additions and 0 deletions

14
.SRCINFO Normal file
View File

@@ -0,0 +1,14 @@
pkgbase = nordvpn-bin
pkgdesc = NordVPN CLI tool for Linux
pkgver = 1.1.5
pkgrel = 1
url = https://nordvpn.com/download/linux/
arch = x86_64
license = custom
depends = openvpn
options = !strip
source = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_1.1.5_amd64.deb
sha256sums = 21cb8cbc3f2e7fd071ff6ad1eedc6fcdc74b0d399582fea2759cbc35e0d65970
pkgname = nordvpn-bin

20
PKGBUILD Normal file
View File

@@ -0,0 +1,20 @@
pkgname=nordvpn-bin
pkgver=1.1.5
pkgrel=1
pkgdesc="NordVPN CLI tool for Linux"
arch=('x86_64')
url="https://nordvpn.com/download/linux/"
license=('custom')
depends=('openvpn')
options=('!strip')
source=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver}_amd64.deb")
sha256sums=('21cb8cbc3f2e7fd071ff6ad1eedc6fcdc74b0d399582fea2759cbc35e0d65970')
package() {
bsdtar -O -xf "nordvpn_${pkgver}_amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
mkdir $pkgdir/usr/bin
mv $pkgdir/usr/sbin/* $pkgdir/usr/bin
rm -r $pkgdir/usr/sbin
}