summaryrefslogtreecommitdiff
path: root/community/wvdial/PKGBUILD
blob: eedb8df9f28269792e649df00a1884438f67b144 (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
# $Id: PKGBUILD 64685 2012-02-17 18:33:53Z bluewind $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=wvdial
pkgver=1.61
pkgrel=4
pkgdesc="A dialer program to connect to the Internet"
url="http://alumnit.ca/wiki/index.php?page=WvDial"
arch=('i686' 'x86_64')
license=('custom')
depends=('wvstreams' 'ppp' 'gcc-libs')
makedepends=('lockdev')
options=('!makeflags' '!buildflags')
source=("http://wvstreams.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('acd3b2050c9b65fff2aecda6576ee7bc')

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  ./configure
  make LOCKDEV="-llockdev"
}

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  make prefix="${pkgdir}"/usr PPPDIR="${pkgdir}"/etc/ppp/peers install

  install -Dm644 COPYING.LIB "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}