summaryrefslogtreecommitdiff
path: root/pcr/cronic/PKGBUILD
blob: f204bfd6a0ff7aea34e686277a0f006e63f22e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer (AUR): Tom Hacohen <tom@stosb.com>
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

# parabola changes and rationale:
#  - added license to package

pkgname=cronic
pkgver=3
pkgrel=1
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')
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 -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
}