blob: bdd98eb90bf5360b863561bc86a995a617d6ba93 (
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
|
# $Id: PKGBUILD 77988 2010-04-19 08:04:32Z dgriffiths $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=speedtouch
pkgver=1.3.1
pkgrel=3
pkgdesc="Driver for the ADSL Speed Touch USB modem"
arch=('i686' 'x86_64')
url="http://speedtouch.sourceforge.net/"
license=('GPL')
depends=('bash')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
speedtouch-1.3.1-gcc4.patch)
md5sums=('0848a120ae0eeab6c8ab378e11dc4fa2'
'4191035925db745944c75e26937c42a3')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 < ../speedtouch-1.3.1-gcc4.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man || return 1
make || return 1
make prefix=${pkgdir}/usr sysconfdir=${pkgdir}/etc mandir=${pkgdir}/usr/share/man install || return 1
}
|