### ### maintainer: holger jahn ### pkgname=disklow pkgver=1.2 pkgrel=2 epoch= pkgdesc='Disk space evaluation and notification for servers (think of "disk free" on steroids). Examines mounted file systems and reports the number of used/free/total blocks on screen. Sends email alert if file systems are running low on free disk space. Multiple integrated mail transport options. Quite useful when run via cron.' arch=('any') url="https://www.loomsday.co.nz/repos/arch/disklow-$pkgver-$pkgrel-any.pkg.tar.xz" license=( 'GPL' 'PerlArtistic' ) groups=() depends=( 'perl' 'perl-filesys-df' 'perl-config-general' 'perl-mail-sendmail' 'perl-net-smtp-ssl' 'perl-authen-sasl' ) makedepends=() checkdepends=() optdepends=( 'msmtp-mta: minimalistic system sendmail command' 's-nail: minimalistic system mail command' 'cronie: for periodic disk space monitoring' ) provides=( 'disklow' ) conflicts=() replaces=() backup=( 'etc/disklow.conf' ) options=() install= changelog= source=( "$pkgname-$pkgver.tar.gz" ) noextract=() validpgpkeys=() package() { cd "$pkgname-$pkgver" install -m0644 -Dt $pkgdir/etc disklow.conf install -m0755 -Dt $pkgdir/usr/bin/ disklow install -m0644 -Dt $pkgdir/usr/share/doc/disklow sendmail-setup.txt install -m0644 -Dt $pkgdir/usr/share/man/man1/ disklow.1 gzip -f $pkgdir/usr/share/man/man1/disklow.1 } md5sums=('5c2cf37c25f75b680edf1c04122c2fbf')