blob: 46869e877012f64253e4d1e56c97c540eef82c35 (
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
|
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=glib-networking
pkgver=2.46.1
pkgrel=1
pkgdesc="Network-related giomodules for glib"
arch=(i686 x86_64)
url="http://www.gtk.org/"
license=(GPL2)
depends=(glib2 libproxy gnutls ca-certificates gsettings-desktop-schemas)
makedepends=(intltool)
install=glib-networking.install
source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
0001-gnutls-Switch-backend-priorities-so-gnutls-pkcs11-is.patch)
sha256sums=('d5034214217f705891b6c9e719cc2c583c870bfcfdc454ebbb5e5e8940ac90b1'
'5d12c3b8905f67a93adc884920f7e062404b723e9d2e56f935b914e58a20b29e')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../0001-gnutls-Switch-backend-priorities-so-gnutls-pkcs11-is.patch
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/$pkgname --disable-static \
--disable-installed-tests
make
}
check() {
cd $pkgname-$pkgver
make -j1 -k check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install testfiles_DATA=
}
# vim:set ts=2 sw=2 et:
|