[arch-commits] Commit in lib32-libxml2/repos/multilib-testing-x86_64 (2 files)

Jan Steffens heftig at gemini.archlinux.org
Tue Aug 30 17:57:35 UTC 2022


    Date: Tuesday, August 30, 2022 @ 17:57:35
  Author: heftig
Revision: 1288911

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-libxml2/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 1288910, lib32-libxml2/trunk/PKGBUILD)
Deleted:
  lib32-libxml2/repos/multilib-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  146 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 78 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-30 17:53:18 UTC (rev 1288910)
+++ PKGBUILD	2022-08-30 17:57:35 UTC (rev 1288911)
@@ -1,68 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-# Contributor: Tom Gundersen <teg at jklm.no>
-# Contributor: John Proctor <jproctor at prium.net>
-
-pkgbase=lib32-libxml2
-pkgname=(lib32-libxml2)
-pkgver=2.10.2
-pkgrel=1
-pkgdesc="XML C parser and toolkit (32-bit)"
-url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
-arch=(x86_64)
-license=(custom:MIT)
-depends=(lib32-zlib lib32-xz lib32-icu libxml2)
-makedepends=(git)
-options=(debug)
-_commit=21b24b51608d471bb9f7c4225e23d0db2acecc52  # tags/v2.10.2^0
-source=("git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd libxml2
-  git describe --tags | sed 's/-rc/rc/;s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-prepare() {
-  cd libxml2
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
-
-  cd libxml2
-
-  ./configure \
-    --prefix=/usr \
-    --libdir=/usr/lib32 \
-    --with-threads \
-    --without-history \
-    --without-python \
-    --with-icu
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
-  make
-}
-
-check() {
-  cd libxml2
-  make check
-}
-
-package_lib32-libxml2() {
-  provides=(libxml2.so)
-
-  cd libxml2
-
-  make DESTDIR="$pkgdir" install
-
-  rm -r "$pkgdir"/usr/{include,share,bin}
-
-  install -Dm644 Copyright -t "$pkgdir/usr/share/licenses/$pkgname"
-}
-
-# vim:set sw=2 sts=-1 et:

Copied: lib32-libxml2/repos/multilib-testing-x86_64/PKGBUILD (from rev 1288910, lib32-libxml2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-30 17:57:35 UTC (rev 1288911)
@@ -0,0 +1,78 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgbase=lib32-libxml2
+pkgname=(lib32-libxml2)
+pkgver=2.10.2
+pkgrel=2
+pkgdesc="XML C parser and toolkit (32-bit)"
+url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
+arch=(x86_64)
+license=(custom:MIT)
+depends=(
+  lib32-icu
+  lib32-xz
+  lib32-zlib
+  libxml2
+)
+makedepends=(
+  git
+)
+options=(debug)
+_commit=21b24b51608d471bb9f7c4225e23d0db2acecc52  # tags/v2.10.2^0
+source=("git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libxml2
+  git describe --tags | sed 's/-rc/rc/;s/^v//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd libxml2
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
+
+  cd libxml2
+
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --with-threads \
+    --without-history \
+    --without-python \
+    --with-icu \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd libxml2
+  make check
+}
+
+package_lib32-libxml2() {
+  provides=(libxml2.so)
+
+  cd libxml2
+
+  make DESTDIR="$pkgdir" install
+
+  rm -r "$pkgdir"/usr/{include,share,bin}
+
+  install -Dm644 Copyright -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim:set sw=2 sts=-1 et:



More information about the arch-commits mailing list