updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / libghttp / PKGBUILD
blob161f1b3be2aa8592f31e217ede2db6aab6664ae0
1 # Contributor: Dragonlord <archlinux[at]dragonlord[.]cz>
3 pkgname=libghttp
4 pkgver=1.0.9
5 pkgrel=3
6 pkgdesc="HTTP protocol client library."
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 depends=('glibc')
10 source=(ftp://ftp.gnome.org/pub/gnome/sources/$pkgname/1.0/$pkgname-$pkgver.tar.gz)
11 url="http://ftp.gnome.org/pub/gnome/sources/$pkgname/1.0"
13 md5sums=('0690e7456f9a15c635f240f3d6d5dab2')
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
18   if [[ "$CARCH" == "x86_64" ]]; then
19     ./configure --prefix=/usr --host=i686-pc-linux-gnu
20   else
21     ./configure --prefix=/usr
22   fi
24   make || return 1
25   make prefix=$startdir/pkg/usr install
26   find $startdir/pkg -name '*.la' -exec rm {} \;