updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / telldus-rfcmd / PKGBUILD
blobd5995d9887f0c1513f5e370692faa7a5ab9e33fa
1 # Contributor: Peter Hultqvist <endnode dot se>
2 pkgname=telldus-rfcmd
3 pkgver=2.0.3
4 pkgrel=1
5 pkgdesc="TellStick transmitter"
6 arch=('i686' 'x86_64')
7 url="http://developer.telldus.se/wiki/TellStickInstallationSource"
8 license=('GPL2')
9 depends=()
10 makedepends=('gcc' 'make')
11 backup=('etc/tellstick.conf')
12 source=(
13         http://download.telldus.se/TellStick/Software/telldus-core/telldus-core-$pkgver.tar.gz
14         10-tellstick.rules
16 md5sums=('6aca1a23481f11ab5e67418efce94310'
17          '19535e01fc1df605e09a975b0f328764')
19 build()
21         cd $srcdir/telldus-core-$pkgver/rfcmd/
22         gcc rfcmd.c -lrt -o rfcmd
23         install -D -m0755 rfcmd $pkgdir/usr/bin/rfcmd || return 1
24         install -D -m0644 $srcdir/10-tellstick.rules $pkgdir/etc/udev/rules.d/10-tellstick.rules || return 1