summaryrefslogtreecommitdiff
path: root/pcr/cronic/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/cronic/PKGBUILD')
-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
}
+
+