updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / ghoul / PKGBUILD
blobe6d9e59dc880c06321a9e91ae321a232ee887782
1 # Contributor: Chris Down <cdown.uk@gmail.com>
2 # Maintainer: Chris Down <cdown.uk@gmail.com>
4 pkgname=ghoul
5 pkgver=1.0
6 pkgrel=1
7 pkgdesc="rc.d-style daemon manipulator."
8 arch=('any')
9 url="https://github.com/cdown/${pkgname}"
10 license=('GPL3')
11 source=("http://fakkelbrigade.eu/chris/aur/${pkgname}/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('27bf30129a3577a4f1bb34d0208569d6')
14 build() {
15         # Program
16         cd "${srcdir}/${pkgname}-${pkgver}"
17         install -d "${pkgdir}/usr/bin/"
18         install -m755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
20         # Man page
21         pod2man --section=1 --center=' ' --name="${pkgname^^}" --release="${pkgname} ${pkgver}" "README.pod" "${pkgname}.1"
22         gzip -9 "${pkgname}.1"
23         install -Dm644 "${pkgname}.1.gz" "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"