1 # Contributor: Tilman Blumenbach <tilman@ax86.net>
6 pkgdesc='Utility program for spinning-down external disks after a period of idle time.'
8 backup=(etc/conf.d/hd-idle)
10 url="http://hd-idle.sourceforge.net/"
12 install="${pkgname}.install"
13 source=("http://downloads.sf.net/${pkgname}/${pkgname}-${pkgver}.tgz"
17 cd "${srcdir}/${pkgname}-${pkgver}"
24 cd "${srcdir}/${pkgname}-${pkgver}"
25 mkdir -p "${pkgdir}/usr/sbin"
28 make TARGET_DIR="${pkgdir}/usr/sbin" install || return 1
30 # Install init script and defaults file:
31 install -Do 0 -g 0 "${srcdir}/hd-idle.init" "${pkgdir}/etc/rc.d/hd-idle"
32 install -Dpm 644 -o 0 -g 0 "scripts/debian/default/hd-idle" "${pkgdir}/etc/conf.d/hd-idle"
35 install -Dm 644 -o 0 -g 0 README "${pkgdir}/usr/share/doc/${pkgname}/README"
38 md5sums=('bfb7db4d4372d3954b7cd96a11956741'
39 '19c07682085d7fa99527c0f35073d331')