summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 449c2dedeb73e3aaa575a10ae28dee494f751f78 (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
# Maintainer: Oliver Hattshire <hattshire at gmail dot com>

pkgname=libsoup-2.2
pkgver=2.2.105
_basepkgname=libsoup
_basepkgver=2.2
pkgrel=2
pkgdesc='HTTP client/server library for GNOME'
url='https://wiki.gnome.org/LibSoup'
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('gnutls')
depends=('libgcrypt' 'libxml2' 'glib2>=2.12.0')
optdepends=(  )
provides=('libsoup-2.2')
source=("http://ftp.gnome.org/pub/gnome/sources/${_basepkgname}/${_basepkgver}/${_basepkgname}-${pkgver}.tar.bz2"
        "update.patch"
        "fix-icu-tpl-thing.patch")
sha1sums=('45756c61d48bc9ec3919d5375b06d952bb65bf58'
          '7f109d4ada0e6fbd9a995402b8e84a363f27cd4d'
          'd64acf3b74a2507adf6810f18e0c3ef4648ddef2')

prepare() {
  cd ${srcdir}/${_basepkgname}-${pkgver}
  patch -p1 -i ../update.patch
  patch -p2 -i ../fix-icu-tpl-thing.patch
}
build() {
  cd ${srcdir}/${_basepkgname}-${pkgver}
  ./configure --prefix=/usr --enable-ssl
  make
}
package() {
  cd ${srcdir}/${_basepkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install 
}