updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / prankm / PKGBUILD
blob236c528886c8821a3218cd73849d72b5b9d28c46
1 # Contributor: Justin Davis <jrcd83@gmail.com>
2 pkgname='prankm'
3 pkgver='0.01'
4 pkgrel='2'
5 pkgdesc="Parallel ping ranker for pacman's mirrorlist"
6 arch=('any')
7 license=('PerlArtistic' 'GPL')
8 options=('!emptydirs')
9 depends=('perl-anyevent-fastping')
10 url='http://github.com/juster/prankm'
11 source=("prankm-${pkgver}.tar.gz::http://github.com/juster/prankm/tarball/v${pkgver}")
12 md5sums=('daf769cce02233bfd2368a7d0396b9dd')
14 build() {
15   COMMIT='06810e1'
16   cd "${srcdir}/juster-prankm-${COMMIT}"
17   pod2man prankm | gzip -c --best > prankm.8.gz
18   install -m755 -D prankm      "${pkgdir}/usr/sbin/prankm"
19   install -m644 -D prankm.8.gz "${pkgdir}/usr/share/man/man8/prankm.8.gz"
22 # Local Variables:
23 # mode: shell-script
24 # sh-basic-offset: 2
25 # End: