PKGBUILDs/extra/speedtouch/PKGBUILD

22 lines
832 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 35909 2009-04-18 06:39:39Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=speedtouch
pkgver=1.3.1
pkgrel=2
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
}