updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bluemote / PKGBUILD
blobc2196ab110a878a6272e2abbd774d3457e647f90
1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Contributor: nightfrost <khashayar_naderehvandi@yahoo.co.uk>
3 # Maintainer: Nathan Owe <ndowens.aur at gmail dot com>
4 pkgname=bluemote
5 pkgver=2.0
6 pkgrel=7
7 pkgdesc="Turn your Bluetooth-enabled mobile phone into a remote control for your computer"
8 arch=('i686' 'x86_64')
9 url="http://linux.softpedia.com/get/Utilities/Bluemote-12342.shtml"
10 license=("GPL")
11 depends=('libxtst')
12 source=("http://download.softpedia.ro/dl/797350dcea2611657fb5452be2536da0/4dc0fe73/500012342/linux/bluemote.2.0.tar.gz"
13                 "bluemote-lock.patch")
14 install=bluemote.install
15 md5sums=('69ab4eafb839a3f22fca2832fbba60f6' 'd515fa3209d3c18b6afd4243eb7625bb')
17 build () {
18   cd ${srcdir}/bluemote
19   make clean
20   patch -p1 -i ../bluemote-lock.patch
21   make
22   }
23 package() {
24         cd ${srcdir}/bluemote
25   
26   install -d ${pkgdir}/{usr/bin,etc/bluemote}
27   install -m755 bluemote ${pkgdir}/usr/bin/bluemote
28   install -m644 bluemote-example.cfg ${pkgdir}/etc/bluemote/bluemote.cfg
29   install -m644 config.txt ${pkgdir}/etc/bluemote/config.txt
30