forked from pschmitt/pia-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
36 lines (33 loc) · 1.8 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
pkgname=pia-tools
pkgver=0.9.7.3
pkgrel=1
pkgdesc='OpenVPN hook for privateinternetaccess.com'
arch=('any')
url='https://github.com/pschmitt/pia-tools'
license=('GPL3')
depends=('transmission-cli' 'dnsutils' 'openvpn' 'systemd' 'sudo' 'wget' 'ufw' 'unzip' 'sed')
source=('https://raw.github.com/pschmitt/pia-tools/master/pia-tools'
'https://raw.github.com/pschmitt/pia-tools/master/pia-tools.groff'
'https://raw.github.com/pschmitt/pia-tools/master/[email protected]'
'https://raw.github.com/pschmitt/pia-tools/master/pia_common'
'https://raw.github.com/pschmitt/pia-tools/master/pia-up'
'https://raw.github.com/pschmitt/pia-tools/master/pia-down'
'https://raw.github.com/pschmitt/pia-tools/master/pia-tools.install')
sha256sums=('ca54f20f6aaa60ae919a6e41c0b67a6d4a2f0f33c4fec04f827b9d5d77ea2643'
'22a34cb38e02ee1ed32e5697bc507df074629cbf5f1f7290a72e2c947cf611eb'
'118d961db36fb243e059543215a818d1546ec94e8d52b24c75b7de6fe64ba749'
'b571a8edbd9cb2a9ad63fadf360f64d4f80e291295f6c851b3a716c291ba3f8d'
'063ee23a9c98e728168affb8056cda201fb02ede2bd29dfe2b768ce834b35e7c'
'12299e53b5024084c73e604132db3a10b6e91763d90d484cabdd1985a17cf733'
'a7e82a1589406477898adee768d17c0270c8bcf341ae72be823095331c4e99c5')
install="${pkgname}.install"
package() {
cd "${srcdir}"
install -Dm755 pia-tools "${pkgdir}/usr/bin/pia-tools"
install -Dm644 pia-tools.groff "${pkgdir}/usr/share/man/man1/pia-tools.1"
install -Dm644 [email protected] "${pkgdir}/usr/lib/systemd/system/[email protected]"
install -Dm644 pia_common "${pkgdir}/etc/openvpn/pia/pia_common"
install -Dm755 pia-up "${pkgdir}/etc/openvpn/pia/pia-up"
install -Dm755 pia-up "${pkgdir}/etc/openvpn/pia/pia-down"
}