blob: caa609de8c51de0ce6a4780a4dac204f605db7c4 (
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
|
# $Id: PKGBUILD,v 1.1 2008/11/24 18:40:08 partition Exp $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
pkgname=cdemu-daemon
pkgver=1.1.0
pkgrel=3
pkgdesc="CD/DVD-ROM device emulator daemon"
arch=(i686 x86_64)
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=('0118e5f590d7c0e1b02027b718880ac6'
'26b94a626c2c1d0a83ad5a7593dff70f'
'c4a2f36337b5ce53cf0fac1128ad9545')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make -j1 || 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
}
|