[arch-commits] Commit in lib32-rest/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Mar 17 07:25:11 UTC 2021
Date: Wednesday, March 17, 2021 @ 07:25:10
Author: alucryd
Revision: 893079
lib32-rest 0.8.1-3: disable introspection
Modified:
lib32-rest/trunk/PKGBUILD
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++--------------
1 file changed, 31 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-17 07:25:10 UTC (rev 893078)
+++ PKGBUILD 2021-03-17 07:25:10 UTC (rev 893079)
@@ -4,18 +4,35 @@
pkgname=lib32-rest
pkgver=0.8.1
-pkgrel=2
+pkgrel=3
pkgdesc='A helper library for RESTful services'
-arch=('x86_64')
-url='https://www.gtk.org/'
-license=('GPL2')
-depends=('lib32-libsoup' 'rest')
-makedepends=('gcc-multilib' 'gobject-introspection')
-source=("https://download.gnome.org/sources/rest/${pkgver%.*}/rest-${pkgver}.tar.xz")
-sha256sums=('0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9')
+arch=(x86_64)
+url=https://www.gtk.org/
+license=(GPL2)
+depends=(
+ lib32-libsoup
+ rest
+)
+makedepends=(
+ git
+ gtk-doc
+)
+_tag=2971b3b92701f70fc368ad64bd25cefaea043f87
+source=(git+https://gitlab.gnome.org/GNOME/librest.git#tag=${_tag})
+b2sums=(SKIP)
+prepare() {
+ cd librest
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+pkgver() {
+ cd librest
+ git describe --tags
+}
+
build() {
- cd rest-${pkgver}
+ cd librest
export CC='gcc -m32'
export CXX='g++ -m32'
@@ -22,15 +39,15 @@
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32'
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --disable-introspection \
+ --disable-gtk-doc
make
}
package() {
- cd rest-${pkgver}
-
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" -C librest install
rm -rf "${pkgdir}"/usr/{include,share}
}
More information about the arch-commits
mailing list