summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDorian Schramm2018-09-29 15:24:19 -0300
committerDorian Schramm2018-09-29 15:24:19 -0300
commitbb84cd9839e8094f2aa37472e56945a4a23aeb78 (patch)
treeee781cffc8aff2ce3280d6a301ce2e2b30b88027
parent261519898136286663f34768ab7e7b42dbb37f05 (diff)
downloadaur-bb84cd9839e8094f2aa37472e56945a4a23aeb78.tar.gz
updated to v.3.89.0
-rw-r--r--.INSTALL12
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD23
-rw-r--r--torguard.sysusers1
4 files changed, 22 insertions, 26 deletions
diff --git a/.INSTALL b/.INSTALL
deleted file mode 100644
index 2ec4029c97e..00000000000
--- a/.INSTALL
+++ /dev/null
@@ -1,12 +0,0 @@
-pre_install() {
- if ! grep -q "^torguard:" /etc/group ; then groupadd --system torguard; fi
-}
-
-pre_upgrade() {
- if ! grep -q "^torguard:" /etc/group ; then groupadd --system torguard; fi
-}
-
-post_remove() {
- if grep -q "^torguard:" /etc/group ; then groupdel torguard; fi
-}
-
diff --git a/.SRCINFO b/.SRCINFO
index d8e29a1ee3f..77c8435dad1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = torguard
pkgdesc = TorGuard VPN Software Stay private online with TorGuard's anonymous VPN software and connect to 37+ countries worldwide.
- pkgver = 3.88.0
+ pkgver = 3.89.0
pkgrel = 1
- url = www.torguard.com
- install = .INSTALL
+ url = https://www.torguard.com
arch = x86_64
license = custom
depends = iproute2
- source = https://updates.torguard.biz/Software/Linux/torguard-v3.88.0-amd64-arch.tar.gz
- md5sums = a2e83a90333de540f426cf59577b4eed
+ depends = qt5-base
+ source = https://updates.torguard.biz/Software/Linux/torguard-v3.89.0-amd64-arch.tar.gz
+ source = torguard.sysusers
+ sha256sums = 1a097a9761f59a63f281854e693c6bd0b20d765bd99ce7533a9449e0c6745aec
+ sha256sums = b1f954c54725794f94009c72e12746f203ce6dd4318a19ad0c10d5d8684cd873
pkgname = torguard
diff --git a/PKGBUILD b/PKGBUILD
index 2d5252a8683..c28816f2acf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,28 @@
# Maintainer: coco
-# Co-Maintainer: dramm
+# Co-Maintainer: dramm <dramm at archlinux dot email>
# Contributor: thatgeek
# Contributor: TorGuard Support <support@torguard.com>
pkgname=torguard
-pkgver=3.88.0
+pkgver=3.89.0
pkgrel=1
pkgdesc="TorGuard VPN Software
Stay private online with TorGuard's anonymous VPN software and connect to 37+ countries worldwide."
arch=('x86_64')
-url="www.torguard.com"
-depends=('iproute2')
+url="https://www.torguard.com"
+depends=('iproute2'
+ 'qt5-base')
license=(custom)
-source=("https://updates.torguard.biz/Software/Linux/torguard-v3.88.0-amd64-arch.tar.gz")
-md5sums=('a2e83a90333de540f426cf59577b4eed')
-install=.INSTALL
+source=("https://updates.torguard.biz/Software/Linux/torguard-v3.89.0-amd64-arch.tar.gz"
+ 'torguard.sysusers')
+sha256sums=('1a097a9761f59a63f281854e693c6bd0b20d765bd99ce7533a9449e0c6745aec'
+ 'b1f954c54725794f94009c72e12746f203ce6dd4318a19ad0c10d5d8684cd873')
package() {
tar -xf "${srcdir}/${pkgname}-v${pkgver}-amd64-arch/torguard-v${pkgver}-amd64-arch.tar"
+ cp -r "${srcdir}/${pkgname}-v${pkgver}-amd64-arch/etc" "${pkgdir}/" -R
cp -r "${srcdir}/${pkgname}-v${pkgver}-amd64-arch/opt" "${pkgdir}/" -R
cp -r "${srcdir}/${pkgname}-v${pkgver}-amd64-arch/usr" "${pkgdir}/" -R
- cp -r "$srcdir"/*/* "$pkgdir"
+
find "$pkgdir"/opt/torguard/ -type f -exec chmod 644 {} \;
find "$pkgdir"/opt/torguard/ -name torguard -exec chmod 755 {} \;
find "$pkgdir"/opt/torguard/ -name torguard-wrapper -exec chmod 755 {} \;
@@ -30,8 +33,10 @@ package() {
find "$pkgdir"/opt/torguard/ -name stunnel -exec chmod 755 {} \;
find "$pkgdir"/opt/torguard/bin/ -name torguard-startup.desktop -exec chmod 664 {} \;
find "$pkgdir"/etc/sudoers.d/ -name torguard -exec chmod 440 {} \;
- find "$pkgdir"/etc/sudoers.d/ -type d -exec chmod 750 {} \;
+ find "$pkgdir"/etc/sudoers.d/ -type d -exec chmod 750 {} \;
install -d "$pkgdir"/usr/bin/
ln -s /opt/torguard/bin/torguard-wrapper "$pkgdir"/usr/bin/torguard
+
+ install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
}
diff --git a/torguard.sysusers b/torguard.sysusers
new file mode 100644
index 00000000000..51a3b58c218
--- /dev/null
+++ b/torguard.sysusers
@@ -0,0 +1 @@
+u torguard - "TorGuard VPN Software"