[arch-commits] Commit in lib32-rest/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Mar 6 15:47:11 UTC 2022
Date: Sunday, March 6, 2022 @ 15:47:11
Author: felixonmars
Revision: 1142529
archrelease: copy trunk to multilib-staging-x86_64
Added:
lib32-rest/repos/multilib-staging-x86_64/
lib32-rest/repos/multilib-staging-x86_64/PKGBUILD
(from rev 1142528, lib32-rest/trunk/PKGBUILD)
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Copied: lib32-rest/repos/multilib-staging-x86_64/PKGBUILD (from rev 1142528, lib32-rest/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD (rev 0)
+++ multilib-staging-x86_64/PKGBUILD 2022-03-06 15:47:11 UTC (rev 1142529)
@@ -0,0 +1,54 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: GordonGR <ntheo1979 at gmail.com>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=lib32-rest
+pkgver=0.8.1
+pkgrel=4
+pkgdesc='A helper library for RESTful services'
+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 librest
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --disable-introspection \
+ --disable-gtk-doc
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C librest install
+ rm -rf "${pkgdir}"/usr/{include,share}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list