summaryrefslogtreecommitdiff
path: root/pcr/cronic
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-02 16:07:53 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-02 16:07:53 +0100
commit332d525ac8cac11d2b692e6386e02717ebde9e33 (patch)
tree2f4568bccdd31fc0326970c0897d0eabba780355 /pcr/cronic
parent6ba2329d0c5ec890dbedb6419ad186a50d04104c (diff)
pcr/cronic: updated to 3
Diffstat (limited to 'pcr/cronic')
-rw-r--r--pcr/cronic/PKGBUILD36
1 files changed, 22 insertions, 14 deletions
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 <tom@stosb.com>
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-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
}
+
+