summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d92d38b465c8d6834da6e57870bad7e1ecf8e61b (plain)
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
36
37
38
39
# Maintainer: Phillip Smith <pkgbuild@phs.id.au>
# http://github.com/fukawi2/aur-packages
# Contributor: Manolis Tzanidakis <manolis@archlinux.org>
# Contributer: Hussam Al-Tayeb <ht990332@gmail.com>

### I AM ONLY THE PACKAGER, NOT THE DEVELOPER
### Please ask support questions about this software in one of:
###   1) The AUR comments; OR
###   2) Upstream forums/maillist etc; OR
###   3) The ArchLinux forums
### I do not always know enough about the software itself, or don't have the
### time to promptly respond to direct emails.
### If you have found a problem with the package/PKGBUILD (as opposed to
### the software) then please do email me or post an AUR comment.

pkgname=pppconfig
pkgver=2.3.23
pkgrel=1
pkgdesc="A text menu based utility for configuring ppp."
arch=('i686' 'x86_64')
license=('GPL2')
url="http://httpredir.debian.org/debian/pool/main/p/pppconfig"
depends=('ppp' 'dialog' 'perl')
source=("http://httpredir.debian.org/debian/pool/main/p/pppconfig/${pkgname}_${pkgver}.tar.gz")
sha256sums=('7502c947dc8854c1bfebbef1f8da4fe3b9ba047fdc6365b6520cdf483925c41f')

package() {
  cd "$srcdir"/$pkgname-$pkgver

  install -D -m755 pppconfig "$pkgdir"/usr/bin/pppconfig
  install -D -m755 0dns-up "$pkgdir"/usr/bin/0dns-up
  install -D -m755 0dns-down "$pkgdir"/usr/bin/0dns-down
  install -D -m644 man/pppconfig.8 "$pkgdir"/usr/share/man/man8/pppconfig.8

  install -dm755 "$pkgdir"/etc/ppp/{peers,resolv} "$pkgdir"/etc/chatscripts
  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/pppconfig/COPYING.txt
}

# vim:set ts=2 sw=2 et: