summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9f19c40a93c533286e9b5850fb8c3200655a8554 (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: Daniil Gentili <daniil@daniil.it>
# 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.27
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.xz")
sha512sums=('ee1b2b94135f2c17dddce2e849535872d7781e1e425b81b506a8e78243ab209cfa0333605737372154b7b740df562faa47b8402dccfcd15aefa9086a33a71cca')

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: