# Maintainer: Mateusz Herych # Contributor: Charles Lindsay pkgname=cdemu-client pkgver=1.3.0 pkgrel=2 pkgdesc="Simple command-line client for controlling cdemu-daemon" arch=('i686' 'x86_64') url="http://cdemu.sourceforge.net/" license=('GPL') depends=('python2' 'dbus-python' 'cdemu-daemon') makedepends=('intltool') conflicts=('cdemu') source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz) md5sums=('e1789ec4f839e9dbdb5db88e3923d7ae') build() { cd $srcdir/$pkgname-$pkgver # python2 fix sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' src/cdemu ./configure --prefix=/usr make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }