From 332d525ac8cac11d2b692e6386e02717ebde9e33 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Fri, 2 Feb 2018 16:07:53 +0100 Subject: pcr/cronic: updated to 3 --- pcr/cronic/PKGBUILD | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) (limited to 'pcr/cronic') diff --git a/pcr/cronic/PKGBUILD b/pcr/cronic/PKGBUILD index 688accbe6..f204bfd6a 100644 --- a/pcr/cronic/PKGBUILD +++ b/pcr/cronic/PKGBUILD @@ -1,22 +1,30 @@ +# Maintainer (AUR): Tom Hacohen # Maintainer: Luke Shumaker -pkgname=cronic -pkgver=2 -pkgdesc="Cron job report wrapper" -url=http://habilis.net/cronic/ -license=(CC0) +# parabola changes and rationale: +# - added license to package +pkgname=cronic +pkgver=3 pkgrel=1 -arch=(any) +pkgdesc="Cronic is a shell script to help control the most annoying feature of cron: unwanted emailed output." +url="http://habilis.net/cronic/" depends=('bash') - -source=(http://habilis.net/cronic/cronic - CC0-1.0.html::http://creativecommons.org/publicdomain/zero/1.0/legalcode) -md5sums=('a488e6c2c76d8d00eb5576a164be4cf3' - 'b753f7299493244a3b0cad2fa4f26830') +license=('CC0') +arch=('any') +binaryname="cronic-v${pkgver}" +source=(http://habilis.net/cronic/${binaryname} + CC0-1.0.html::http://creativecommons.org/publicdomain/zero/1.0/legalcode) +sha256sums=('25d9772e142ebdcaa72433431e26d855ae82b085709faf0d2169b3bda867aeac' + 'bce76ba5c91a3911a8227a329ba2d3f443a779cfaca932d2b76331c34fcb0230') package() { - cd "$srcdir" - install -Dm755 cronic "$pkgdir"/usr/bin/cronic - install -Dm644 CC0-1.0.html "$pkgdir"/usr/share/licenses/$pkgname/CC0-1.0.html + cd "$srcdir" + + install -m 0755 -d $pkgdir/usr/bin/ + install -m 0755 "${binaryname}" $pkgdir/usr/bin/cronic + install -m 0755 -d $pkgdir/usr/share/licenses/cronic + install -m 0644 CC0-1.0.html $pkgdir/usr/share/licenses/cronic } + + -- cgit v1.2.3