[arch-commits] Commit in lib32-libsoup/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Fri Mar 15 14:04:33 UTC 2019
Date: Friday, March 15, 2019 @ 14:04:32
Author: alucryd
Revision: 441857
upgpkg: lib32-libsoup 2.66.0-1
Modified:
lib32-libsoup/trunk/PKGBUILD
----------+
PKGBUILD | 49 ++++++++++++++++++++++++-------------------------
1 file changed, 24 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-15 13:48:47 UTC (rev 441856)
+++ PKGBUILD 2019-03-15 14:04:32 UTC (rev 441857)
@@ -3,43 +3,42 @@
# Contributor: josephgbr <rafael.f.f1 at gmail.com>
pkgname=lib32-libsoup
-pkgver=2.64.2
+pkgver=2.66.0
pkgrel=1
pkgdesc='HTTP client/server library for GNOME'
-arch=('x86_64')
-url='https://wiki.gnome.org/Projects/libsoup'
-license=('LGPL')
+arch=(x86_64)
+url=https://wiki.gnome.org/Projects/libsoup
+license=(LGPL)
depends=(
- 'lib32-glib-networking' 'lib32-krb5' 'lib32-libxml2' 'lib32-sqlite'
- 'lib32-libpsl' 'libsoup'
+ lib32-glib-networking
+ lib32-krb5
+ lib32-libxml2
+ lib32-sqlite
+ lib32-libpsl
+ libsoup
)
-makedepends=('git' 'gobject-introspection' 'intltool' 'python' 'vala')
-source=("git+https://gitlab.gnome.org/GNOME/libsoup.git#tag=${pkgver}")
-sha256sums=('SKIP')
+makedepends=(
+ git
+ gobject-introspection
+ intltool
+ meson
+ vala
+)
+source=(git+https://gitlab.gnome.org/GNOME/libsoup.git#tag=${pkgver})
+sha256sums=(SKIP)
-prepare() {
- cd libsoup
-
- NOCONFIGURE=1 ./autogen.sh
-}
-
build() {
- cd libsoup
-
export CC='gcc -m32'
export CXX='g++ -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
- ./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32' \
- --disable-static
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ arch-meson libsoup build \
+ --libdir='/usr/lib32'
+ ninja -C build
}
package() {
- make DESTDIR="${pkgdir}" -C libsoup install
+ DESTDIR="${pkgdir}" ninja -C build install
rm -rf "${pkgdir}"/usr/{include,share}
}
More information about the arch-commits
mailing list