summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ddc9c0cf576ea8bc7383bb9d4fbd60d28909ebaa (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
# Maintainer: Brian BIdulock <bidulock@openss7.org>

pkgname=perl-hardware-sensorparser
_cpanname=Hardware-SensorsParser
pkgver=0.01
pkgrel=2
pkgdesc="Simple parser for Lm-sensors output"
arch=('any')
license=("GPL" "PerlArtistic")
url="http://metacpan.org/release/Hardware-SensorsParser"
depends=('lm_sensors')
options=('!emptydirs')
source=("http://cpan.metacpan.org/authors/id/D/DA/DAVEGEE/$_cpanname-$pkgver.tar.gz")
md5sums=('0ddbc1b94cab78565f8327300529aa58')

build() {
  cd $_cpanname
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $_cpanname
  make install DESTDIR=${pkgdir}
}