summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ce059d65e5179268bb2e5956cef955b4a489abad (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
# Maintainer: lynix <lynix47@gmail.com>

pkgname=hdd-spindown.sh-git
pkgver=20170713
pkgrel=1
pkgdesc="Automatic Disk Standby using Kernel diskstats and hdparm"
url="https://github.com/lynix/hdd-spindown.sh"
arch=('any')
license=('MIT')
depends=('coreutils' 'grep' 'systemd' 'hdparm')
optdepends=('smartmontools: recognizing SMART self-tests' \
            'iputils: host monitoring feature' \
            'util-linux: logging to syslog')
makedepends=()
conflicts=()
replaces=()
backup=('etc/hdd-spindown.rc')
source=("git://github.com/lynix/hdd-spindown.sh.git")
md5sums=('SKIP')

package() {
  cd "${srcdir}/${pkgname%-git}"
  make DESTDIR="${pkgdir}" install
}

# vim:set ts=2 sw=2 et: