updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / kanyremote / PKGBUILD
blob8d022011344cadd8b86785e61b14adcce70d9fd3
1 # Maintainer: Andrea Fagiani <andfagiani_at_gmail_dot_com>
2 # Contributor: Lisa Denia <eiffel56@gmail.com>
4 pkgname=kanyremote
5 pkgver=5.13
6 pkgrel=1
7 pkgdesc="KDE-frontend for anyremote."
8 arch=('i686' 'x86_64')
9 url="http://anyremote.sourceforge.net"
10 license=('GPL')
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')
16 build() {
17   cd $srcdir/$pkgname-$pkgver
19   export PYTHON="python2"
21   ./configure  --prefix=/usr
22   make
25 package() {
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