1 # $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
2 # Maintainer: Bryan Bennett <synorgy@gmail.com>
7 pkgdesc="Console based device manager"
10 url="http://ivman.sourceforge.net/"
11 depends=('hal>=0.5.8.1-2' 'libxml2' 'pmount>=0.9.13-2')
12 makedepends=('pkgconfig')
13 #options=('nolibtool')
14 source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
19 cd $startdir/src/$pkgname-$pkgver
20 ./configure --prefix=/usr --sysconfdir=/etc
21 patch src/IvmConfig/IvmConfigCommon.c < $startdir/hotpluggable.patch
23 make DESTDIR=$startdir/pkg install
24 # setting daemon starting script
25 install -m755 -D $startdir/src/ivman.rc $startdir/pkg/etc/rc.d/ivman || return 1
27 # disable default config
28 cd $startdir/pkg/etc/ivman/
32 sed 's@<ivm:Option name="group" value="plugdev" />@<ivm:Option name="group" value="storage" />@g' -i IvmConfigBase.xml.default
33 sed 's@<ivm:Option name="user" value="ivman" />@<ivm:Option name="user" value="root" />@g' -i IvmConfigBase.xml.default
37 md5sums=('ebef12559268e2c5ea932cbb5aaa789e' 'c100523c8a0807f408894f9798522de3')