summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33218adde2a13aa5961f3afb7d18eeaccaf39245 (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=20170707
pkgrel=2
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 PREFIX="${pkgdir}/usr" install
}

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