PKGBUILDs/community/bluemote/PKGBUILD
2009-10-09 21:15:33 -05:00

29 lines
942 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: nightfrost <khashayar_naderehvandi@yahoo.co.uk>
pkgname=bluemote
pkgver=2.0
pkgrel=5
pkgdesc="Will turn your Bluetooth-enabled mobile phone into a remote control for your computer"
arch=('i686' 'x86_64')
url="http://www.geocities.com/saravkrish/progs/bluemote"
license=("GPL")
depends=('libxtst')
source=(http://www.geocities.com/saravkrish/progs/bluemote/bluemote.$pkgver.tar.gz \
bluemote-lock.patch)
install=bluemote.install
md5sums=('69ab4eafb839a3f22fca2832fbba60f6' 'd515fa3209d3c18b6afd4243eb7625bb')
build () {
cd $startdir/src/bluemote
make clean
patch -p1 -i ../bluemote-lock.patch
make || return 1
install -d $startdir/pkg/usr/bin $startdir/pkg/etc/bluemote
install -m755 bluemote $startdir/pkg/usr/bin
install -m644 bluemote-example.cfg $startdir/pkg/etc/bluemote/bluemote.cfg
install -m644 config.txt $startdir/pkg/etc/bluemote/config.txt
}