diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..11b3e8534d86 --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cccba5cb3aca --- /dev/null +++ b/PKGBUILD @@ -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 +} |