# Contributor: Mikhail Snetkov # Maintainer: Mikhail Snetkov pkgname=lockrun pkgver=1.1.3 pkgrel=1 pkgdesc="Run cron job with overrun protection" url="http://unixwiz.net/tools/lockrun.html" arch="all" license="Public-Domain" options="!check" # No test suite. source="http://unixwiz.net/tools/lockrun.c" build() { gcc $CFLAGS lockrun.c -o lockrun $LDFLAGS } package() { install -Dm775 "$srcdir/lockrun" "$pkgdir/usr/bin/lockrun" } sha512sums="e31177ac47ff810c1900d4f97a8620d48f67b2cac3f2a7df45985934e2446e3afe35f4fc82b0e5dc7dcbc676521ba96bd535f172b3b0abb0bc0f5a152f750b3a lockrun.c"