PKGBUILDs/community/cdemu-daemon/PKGBUILD

29 lines
1 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 521 2009-08-01 18:25:56Z mherych $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
pkgname=cdemu-daemon
pkgver=1.2.0
pkgrel=2
pkgdesc="CD/DVD-ROM device emulator daemon"
arch=(i686 x86_64)
backup=('etc/conf.d/cdemud'
'etc/dbus-1/system.d/cdemud-dbus.conf')
url="http://cdemu.sourceforge.net/"
license=('GPL')
depends=('glib2' 'dbus' 'dbus-glib' 'libdaemon' 'vhba-module' 'libmirage' 'libao')
install=cdemud.install
source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2
cdemud.conf
cdemud.rc)
md5sums=('c35bfbd59c0b5a603314164955bf8e9d'
'26b94a626c2c1d0a83ad5a7593dff70f'
'655b2bf46802f2fa7821a649cecd1c4d')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -m 644 -D ../../cdemud.conf $startdir/pkg/etc/conf.d/cdemud || return 1
install -m 755 -D ../../cdemud.rc $startdir/pkg/etc/rc.d/cdemud || return 1
}