mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
33 lines
784 B
Bash
33 lines
784 B
Bash
pkgname=libsoup
|
|
pkgver=2.60.1
|
|
pkgrel=1
|
|
pkgdesc="GNOME HTTP Library - base library"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
depends=('glib2' 'libxml2' 'sqlite3' )
|
|
makedepends=('intltool' 'gobject-introspection' 'python3' 'vala')
|
|
url="http://www.gnome.org"
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
|
|
options=('!emptydirs')
|
|
md5sums=('4b3fb98f742d81f1850c0846a40470e2')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
sed -i -e 's/env python/python2/' libsoup/tld-parser.py
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--disable-tls-check \
|
|
--without-gnome
|
|
make
|
|
}
|
|
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|