updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / easytether-rpm / PKGBUILD
blob8b762ff1d3fdd5efffd7446e55f23f5fd86a243f
1 # Maintainer: Pouar <thepouar@gmail.com>
3 pkgname=easytether-rpm
4 _debrel=1
5 pkgver=0.7.2
6 pkgrel=4
7 pkgdesc="Internet access via smartphone"
8 arch=('i686' 'x86_64')
9 url="http://www.mobile-stream.com/easytether/drivers.html"
10 license=('unknown:freeware')
11 depends=('glibc' 'libusb' 'udev')
12 makedepends=('rpmextract')
13 conflicts=('easytether-bin')
14 _arch=i686
15 _file="easytether-${pkgver}-${_debrel}.${CARCH}.rpm"
16 source=("http://www.mobile-stream.com/beta/${_file}")
17 changelog=CHANGELOG
18 [ $CARCH == i686 ] && md5sums=('da9f66e836443e47e46cecc3b212e1a5')
19 [ $CARCH == x86_64 ] && md5sums=('235a0976cfb160b6e4e2456a2cd131fd') && _arch=x86_64
20 _file="easytether-${pkgver}-${_debrel}.${_arch}.rpm"
21 source=("http://www.mobile-stream.com/beta/${_file}")
22 build()
24   rpmextract.sh "${_file}"
27 package()
29   mv lib usr "${pkgdir}"/