summaryrefslogtreecommitdiffstats
path: root/abs/core/libdownload/PKGBUILD
blob: 768509784b3bd3d0fdcdffd0841b96aa46150ccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 2480 2008-06-03 15:53:46Z aaron $
# Maintainer: Aaron Griffin <aaron@archlinux.org>

pkgname=libdownload
pkgver=1.3
pkgrel=10
pkgdesc="URL based download library, forked from libfetch"
arch=('i686' 'x86_64')
license=('BSD')
groups=('base')
depends=('glibc')
url="http://code.phraktured.net/?p=libdownload.git"
source=(http://code.phraktured.net/source/$pkgname-$pkgver.tar.gz)
md5sums=('77e10293fd4262745110eb423a10490c')

build() {
  cd $startdir/src/${pkgname}-${pkgver}
  [ "$CARCH" = "x86_64" ] && sed -i -e "s/-O2\ -pipe/-O2\ -pipe\ \-fPIC/g" Makefile
  make || return 1
  make DESTDIR=$startdir/pkg install
}