[arch-commits] Commit in lib32-rest/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Mar 17 07:25:16 UTC 2021
Date: Wednesday, March 17, 2021 @ 07:25:15
Author: alucryd
Revision: 893080
archrelease: copy trunk to multilib-x86_64
Added:
lib32-rest/repos/multilib-x86_64/PKGBUILD
(from rev 893079, lib32-rest/trunk/PKGBUILD)
Deleted:
lib32-rest/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 54 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-17 07:25:10 UTC (rev 893079)
+++ PKGBUILD 2021-03-17 07:25:15 UTC (rev 893080)
@@ -1,37 +0,0 @@
-# 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=2
-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')
-
-build() {
- cd rest-${pkgver}
-
- export CC='gcc -m32'
- export CXX='g++ -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
- ./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32'
- make
-}
-
-package() {
- cd rest-${pkgver}
-
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/{include,share}
-}
-
-# vim: ts=2 sw=2 et:
Copied: lib32-rest/repos/multilib-x86_64/PKGBUILD (from rev 893079, lib32-rest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-17 07:25:15 UTC (rev 893080)
@@ -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=3
+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