updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cable-scripts / PKGBUILD
blobb027982e0c92c52279a35688bde0b370d4e42592
1 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
2 pkgname=cable-scripts
3 pkgver=0.1
4 pkgrel=3
5 pkgdesc="Set of scripts for easy configuring pptp connection"
6 license=('GPL')
7 depends=('pptpclient')
8 backup=(etc/ppp/pptp.conf)
9 arch=('i686' 'x86_64')
10 url=http://www.kodsweb.ru/forum/index.php?showtopic=711
12 source=(cable
13         cable-guard
14         cable-setup
15         cable-start
16         cable-status
17         cable-stop
18         pptp.conf)
20 md5sums=('e50e7c5b5d82ef3d242c57622bde8296'
21          '68e99eea6428bbd505b6f6a581282e3a'
22          '2dc917eca1f39a7193635f9035bf9e1e'
23          'b77b28d91a6241141f54edc23cadfc5c'
24          '7fae0e280bcf6d851fc4822005b914eb'
25          '131906244452fe7fadecbe47594c67d9'
26          '5989762a1c711a114f094380d0812695')
28 build() {
29     mkdir -p $pkgdir/etc/{rc.d,ppp} $pkgdir/usr/sbin
31     cd $srcdir
32     install -m744 cable cable-guard $pkgdir/etc/rc.d
33     install -m644 pptp.conf $pkgdir/etc/ppp
34     install -m744 cable-setup cable-start cable-status cable-stop $pkgdir/usr/sbin