updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cellout / PKGBUILD
blobe7094b2371ea9eb02f7cd27932ba7774c0dde6f5
1 # Maintainer: Chris Down <iofc.org@christopher.down>
3 pkgname=cellout
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc='A simple battery status printer.'
7 arch=('any')
8 url="https://github.com/cdown/${pkgname}"
9 license=('BSD')
10 source=("http://fakkelbrigade.eu/chris/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
11 md5sums=('7bd1e423f14dcb1655f9fa2c20d08471')
13 package() {
14     install -d "${pkgdir}/usr/"{bin/,share/man/man1/}
16     # Compress the manual page to save a small amount of space.
17     gzip -9 "${srcdir}/${pkgname}.1"
19     install -m755 \
20         "${srcdir}/${pkgname}" \
21         "${pkgdir}/usr/bin/${pkgname}"
22     install -m755 \
23         "${srcdir}/${pkgname}.1.gz" \
24         "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"