1 # Contributor: Chris Down <cdown.uk@gmail.com>
2 # Maintainer: Chris Down <cdown.uk@gmail.com>
7 pkgdesc="Command line URL shortener."
9 url="https://github.com/cdown/${pkgname}"
11 source=("http://fakkelbrigade.eu/chris/aur/${pkgname}/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('46f04d6df0f36472282f93f8dd6ad06a')
16 cd "${srcdir}/${pkgname}-${pkgver}"
17 install -d "${pkgdir}/usr/bin/"
18 install -m755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
21 install -d "${pkgdir}/usr/share/${pkgname}"
22 install -m755 "config" "${pkgdir}/usr/share/${pkgname}"
25 pod2man --section=1 --center=' ' --name="${pkgname^^}" --release="${pkgname} ${pkgver}" "README.pod" "${pkgname}.1"
26 gzip -9 "${pkgname}.1"
27 install -Dm644 "${pkgname}.1.gz" "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"