Contributor: Nuno Araujo <nuno.araujo at russo79.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
# Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
pkgname=gcdemu
pkgver=2.0.0
pkgrel=1
pkgdesc="GNOME panel applet controlling cdemu-daemon"
arch=('i686' 'x86_64')
url="http://cdemu.sourceforge.net/"
license=('GPL2')
depends=('cdemu-daemon' 'python2' 'python2-gobject' 'python2-notify' 'gtk3')
makedepends=('cmake intltool')
install=gcdemu.install
source=(http://downloads.sourceforge.net/cdemu/${pkgname}-${pkgver}.tar.bz2)
md5sums=('31691b368ffa9e34b6b776cb7adeebd9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i '1s/python/python2/g' src/gcdemu
sed -i '9s/false/true/g' data/net.sf.cdemu.gcdemu.gschema.xml.in
PYTHON=python2 cmake -DPOST_INSTALL_HOOKS=off -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
}