blob: 2a6a773afdc7c75a0cc7a4d25f9b5da2b6c4c8fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=curl-git
pkgver=7.54.1.49.g176ec5138
pkgrel=1
pkgdesc="A URL retrieval utility and library"
arch=('i686' 'x86_64')
url="http://curl.haxx.se/"
license=('MIT')
depends=('zlib' 'libssh2' 'openssl' 'ca-certificates')
makedepends=('git')
provides=("curl=$pkgver")
conflicts=('curl')
options=('!libtool')
source=('git://github.com/curl/curl.git')
md5sums=('SKIP')
pkgver() {
cd curl
git describe | sed 's/curl-//; s/[_-]/./g'
}
build() {
cd curl
./buildconf
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--disable-ldap \
--disable-ldaps \
--enable-ipv6 \
--enable-manual \
--enable-versioned-symbols \
--enable-threaded-resolver \
--with-gssapi \
--with-random=/dev/urandom \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
make
}
package() {
cd curl
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
|