1 # Maintainer: Andrea Fagiani <andfagiani_at_gmail_dot_com>
2 # Contributor: Lisa Denia <eiffel56@gmail.com>
7 pkgdesc="KDE-frontend for anyremote."
9 url="http://anyremote.sourceforge.net"
11 makedepends=('automake>=1.10' 'autoconf>=2.62')
12 depends=('python-pybluez' 'anyremote>=5.4.1' 'kdebindings-python')
13 source=(http://downloads.sourceforge.net/sourceforge/anyremote/$pkgname-$pkgver.tar.gz)
14 md5sums=('f6aedb862960e77c35488be658bacdf5')
17 cd $srcdir/$pkgname-$pkgver
19 export PYTHON="python2"
21 ./configure --prefix=/usr
26 cd $srcdir/$pkgname-$pkgver
28 make DESTDIR=$pkgdir install
30 sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\|\"python\):\12:g' $pkgdir/usr/bin/kanyremote