1 # Contributor: Emil Renner Berthing <esmil@mailme.dk>
6 pkgdesc='HDAPS userspace hard drive protection daemon'
8 url='http://sourceforge.net/projects/hdaps/'
11 backup=('etc/conf.d/hdapsd')
12 source=("http://downloads.sourceforge.net/hdaps/hdapsd-$pkgver.tar.gz"
13 'hdapsd.conf.d' 'hdapsd.rc.d')
14 md5sums=('897cee8b0192febd127470f3e9506aeb'
15 'ea5b67f983e0d82506398bae553c83bd'
16 '6299b4d035a3e63d35566fc1cfd5e100')
20 cd $srcdir/hdapsd-$pkgver
22 ./configure --prefix=/usr --sysconfdir=/etc || return 1
24 make DESTDIR=$pkgdir install || return 1
26 # install rc script and its configuration file
27 install -Dm 644 $srcdir/hdapsd.conf.d $pkgdir/etc/conf.d/hdapsd
28 install -Dm 755 $srcdir/hdapsd.rc.d $pkgdir/etc/rc.d/hdapsd