summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Burgos2017-04-21 16:49:36 -0600
committerSam Burgos2017-04-21 16:49:36 -0600
commit777f40df59609da1d1cf967ac38935022f6023f5 (patch)
treee36198595c0484bd0d20300bd5bb1ac148318a01
downloadaur-777f40df59609da1d1cf967ac38935022f6023f5.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD32
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6066f74a341
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = pia-manager
+ pkgdesc = A VPN configuration tool for PIA
+ pkgver = 1.0.1
+ pkgrel = 1
+ url = https://github.com/linuxmint/pia-manager
+ arch = any
+ license = GPL
+ depends = gksu
+ depends = networkmanager-openvpn
+ depends = networkmanager
+ depends = openvpn
+ depends = python
+ depends = python-setproctitle
+ optdepends = easy-rsa: easy CA and certificate handling
+ source = https://github.com/linuxmint/pia-manager/archive/1.0.1.tar.gz
+ sha256sums = 0b179b4d797505913e627c7840e6410610cd5ec4286211bcf1f3a11e95db2835
+
+pkgname = pia-manager
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c94f88a75f3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Sam Burgos < sam dot burgos1089 at gmail dot com >
+
+pkgname='pia-manager'
+pkgver='1.0.1'
+pkgrel='1'
+pkgdesc=' A VPN configuration tool for PIA'
+arch=(any)
+url="https://github.com/linuxmint/pia-manager"
+license=('GPL')
+depends=('gksu' 'networkmanager-openvpn' 'networkmanager' 'openvpn' 'python' 'python-setproctitle')
+optdepends=("easy-rsa: easy CA and certificate handling")
+source=("https://github.com/linuxmint/${pkgname}/archive/${pkgver}.tar.gz")
+ #"org.pia-manager.policy)
+sha256sums=('0b179b4d797505913e627c7840e6410610cd5ec4286211bcf1f3a11e95db2835')
+ #'29ac7cb481565cca489075456b6fbb9dad084807b0ec373be2a76667d09bced9')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ # Changing gksu for pkexec
+ #sed -i 's/gksu/pkexec/g' "${pkgdir}/usr/bin/pia-manager"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ cp -r usr "$pkgdir"
+ #install -m644 "${srcdir}/org.x.lightdm-settings.policy" "${pkgdir}/usr/share/polkit-1/actions/"
+}