blob: dd47d12485f88ec7d613d01e952d77e6a3d417c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 57021 2011-10-18 18:14:16Z bpiotrowski $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
pkgname=cdemu-daemon
pkgver=1.4.0
pkgrel=1
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=$pkgver" 'libao')
install=cdemud.install
source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz
cdemud.conf
cdemud.rc
60-vhba.rules)
md5sums=('f7ccc0abc33057d552ec7b0925fce63a'
'2b94bd399873e585e40b2bfd8634f322'
'340a30ab2c42162b3bd042c74a399219'
'93324b320e7b68d01ad9a0b548018ed5')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
install -m 644 -D ../cdemud.conf $pkgdir/etc/conf.d/cdemud
install -m 755 -D ../cdemud.rc $pkgdir/etc/rc.d/cdemud
# Install udev rule for non-root mounting of iso's
install -D -m 755 "${srcdir}/60-vhba.rules" "$pkgdir/lib/udev/rules.d/60-vhba.rules"
}
|