updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / speedtch / PKGBUILD
blob1f492fc48a3fa128cdc41b57ef3a7a1774559340
1 # Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.org>
3 pkgname=speedtch
4 pkgver=0.7
5 pkgrel=3
6 pkgdesc="Scripts and firmware install for speedtouch modems"
7 url="http://www.linux-usb.org/SpeedTouch/index.html"
8 license=""
9 depends=('ppp' 'udev>=070')
10 backup=(etc/ppp/peers/speedtch etc/ppp/pap-secrets)
11 install=$pkgname.install
12 source=($pkgname.peers $pkgname.hotplug http://steve-parker.org/speedtouchconf/rev4fw.zip)
13 md5sums=('5b221758895ac0269204effba214fb1e' '62f05a3c8603d4aeb10504ae9b39532d' \
14         '68e3765967c1fa62fc2211e12d9425dd')
16 build() {
17   cd $startdir/src
18   install -D -m755 $pkgname.hotplug $startdir/pkg/etc/hotplug/usb/$pkgname
19   install -D -m644 $pkgname.peers $startdir/pkg/etc/ppp/peers/$pkgname
21   # install firmware
22   install -D -m644 ZZZLP1.eni $startdir/pkg/lib/firmware/$pkgname-1.bin
23   install -D -m644 ZZZLP2.eni $startdir/pkg/lib/firmware/$pkgname-2.bin