1 # Maintainer : schmoemi <schmoemi at arcor dot de>
2 # Contributor: schmoemi <schmoemi at arcor dot de>
6 pkgdesc="CPU-Z clone for Linux based on Perl"
8 url="http://www.overclock.net/linux-unix/212320-perlmon-cpu-z-like-program-linux.html"
11 optdepends=('gtk2-perl: running with GUI'
12 'nvidia: more GPU information (for nVidia Graphics Adapters)')
13 install=('perlmon.install')
14 source=(http://home.arcor.de/schmoemi/files/src/$pkgname-$pkgver.tar.gz)
15 md5sums=('8547ca2447eeec27d33d4c846ecdce15')
18 cd $srcdir/$pkgname-$pkgver
22 "$pkgdir/usr/share/perlmon" \
24 "$pkgdir/etc" || return 1
26 chmod 755 $pkgdir/usr/share/perlmon
28 cp -r images $pkgdir/usr/share/perlmon
29 # install module in vendor directories.
30 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
32 make install DESTDIR="$pkgdir/" || return 1
33 cp perlmon $pkgdir/usr/share/perlmon/
34 cp perlmonrc $pkgdir/etc/
35 # remove perllocal.pod and .packlist
36 find "$pkgdir" -name perllocal.pod -delete
37 find "$pkgdir" -name .packlist -delete