diff options
Diffstat (limited to 'community-testing/cdemu-daemon/PKGBUILD')
-rw-r--r-- | community-testing/cdemu-daemon/PKGBUILD | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/community-testing/cdemu-daemon/PKGBUILD b/community-testing/cdemu-daemon/PKGBUILD index b757373de..87eb6bd8e 100644 --- a/community-testing/cdemu-daemon/PKGBUILD +++ b/community-testing/cdemu-daemon/PKGBUILD @@ -1,36 +1,35 @@ -# $Id: PKGBUILD 68321 2012-03-21 15:58:26Z schiv $ +# $Id: PKGBUILD 68476 2012-03-25 14:38:03Z schiv $ # Maintainer: Ray Rashif <schiv@archlinux.org> # Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Charles Lindsay <charles@chaoslizard.org> pkgname=cdemu-daemon pkgver=1.5.0 -pkgrel=3 +pkgrel=4 pkgdesc="CD/DVD-ROM device emulator daemon" arch=('i686' 'x86_64') url="http://cdemu.sourceforge.net/" license=('GPL') -depends=('dbus-glib' 'libdaemon' 'vhba-module' - 'dbus' "libmirage=$pkgver" 'libao') -optdepends=('alsa-lib: to enable the audio driver') +depends=('dbus' 'vhba-module>=20110915-5' 'libao' "libmirage=$pkgver") +optdepends=('alsa-lib: to enable the ALSA audio driver' + 'pulseaudio: to enable the PA audio driver') backup=('etc/conf.d/cdemud' 'etc/dbus-1/system.d/cdemud-dbus.conf') -install=cdemud.install +install=$pkgname.install source=("http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2" 'cdemud.conf' 'cdemud.rc' - '60-vhba.rules' - 'cdemu-daemon-system.patch') + 'system.patch') md5sums=('5ba780caa26d855942512b5b3c22405a' - 'd65c30651389900c46e62a9e5559b9d5' - 'ef47f06a3d4e07885bfbb57d4d6d0be4' - '549bd2d9696bd1884c8eed7193c00e21' - 'a3ae9c51c460d31a521dd00dd3f0a852') + '5d9e08255e45ca3c0987329b7920e206' + '4bbf42b69133e4e91c1be2c6825fa392' + '90a2516639c05737fa10a110a1cba467') build() { cd "$srcdir/$pkgname-$pkgver" - patch -Np0 -i $srcdir/cdemu-daemon-system.patch + # make things Arch-friendly + patch -Np1 -i "$srcdir/system.patch" ./configure --prefix=/usr \ --sysconfdir=/etc \ @@ -43,14 +42,11 @@ package() { make DESTDIR="$pkgdir" install + # the init stuff install -Dm644 "$srcdir/cdemud.conf" "$pkgdir/etc/conf.d/cdemud" install -Dm755 "$srcdir/cdemud.rc" "$pkgdir/etc/rc.d/cdemud" - # install udev rule for non-root mounting of iso's - install -Dm644 "$srcdir/60-vhba.rules" \ - "$pkgdir/lib/udev/rules.d/60-vhba.rules" - - # should we really be doing this? + # should we really be doing this? (for systemd) #install -d "$pkgdir/usr/lib/modules-load.d" #echo "vhba" > "$pkgdir/usr/lib/modules-load.d/cdemu.conf" } |