updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / httping / PKGBUILD
blob93965337bbca5de5acc85d49e8c1c289f01c2170
1 # Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz>
3 pkgname=httping
4 pkgver=1.4.4
5 pkgrel=1
6 pkgdesc="Httping is like 'ping' but for http-requests"
7 arch=(i686 x86_64)
8 depends=("openssl")
9 url=('http://www.vanheusden.com/httping/')
10 license=('GPL')
11 source=(http://www.vanheusden.com/httping/${pkgname}-${pkgver}.tgz)
12 md5sums=('e36bb30bd758c766d7260bdde6fe6450')
14 build() {
15   mkdir -p ${pkgdir}/usr/bin
16   mkdir -p ${pkgdir}/usr/share/man/man1
17   cd ${srcdir}/${pkgname}-${pkgver}
18   sed -i -e 's%-DVERSION=\\"$(VERSION)\\"%-DVERSION=\\"$(VERSION)\\" -D_GNU_SOURCE%' Makefile 
19   make DESTDIR=${pkgdir} install