[arch-commits] Commit in lib32-brotli/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Wed Nov 24 20:46:25 UTC 2021


    Date: Wednesday, November 24, 2021 @ 20:46:25
  Author: heftig
Revision: 1054732

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-brotli/repos/multilib-x86_64/PKGBUILD
    (from rev 1054731, lib32-brotli/trunk/PKGBUILD)
Deleted:
  lib32-brotli/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  122 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 56 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-24 20:46:04 UTC (rev 1054731)
+++ PKGBUILD	2021-11-24 20:46:25 UTC (rev 1054732)
@@ -1,66 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Lex Black <autumn-wind at web dot de>
-# Contributor: TingPing <tingping at tingping.se>
-# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
-
-pkgname=lib32-brotli
-pkgver=1.0.9
-pkgrel=1
-pkgdesc='Brotli compression library'
-arch=(x86_64)
-license=(MIT)
-url=https://github.com/google/brotli
-depends=(
-  brotli
-  lib32-gcc-libs
-)
-makedepends=(
-  cmake
-  git
-)
-_tag=e61745a6b7add50d380cfd7d3883dd6c62fc2c71
-source=(git+https://github.com/google/brotli.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
-  cd brotli
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-}
-
-build() {
-  cd build
-
-  export CC='gcc -m32'
-  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
-
-  cmake ../brotli \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=/usr/lib32
-  make
-}
-
-check() {
-  cd build
-
-  make test
-}
-
-package() {
-  cd build
-
-  make DESTDIR="$pkgdir" install
-  rm -rf "${pkgdir}"/usr/{bin,include}
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s brotli "${pkgdir}"/usr/share/licenses/lib32-brotli
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-brotli/repos/multilib-x86_64/PKGBUILD (from rev 1054731, lib32-brotli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-24 20:46:25 UTC (rev 1054732)
@@ -0,0 +1,56 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: TingPing <tingping at tingping.se>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgname=lib32-brotli
+pkgver=1.0.9
+pkgrel=2
+pkgdesc='Brotli compression library'
+arch=(x86_64)
+license=(MIT)
+url=https://github.com/google/brotli
+depends=(
+  brotli
+  lib32-gcc-libs
+)
+makedepends=(
+  cmake
+  git
+)
+provides=(
+  libbrotli{common,dec,enc}.so
+)
+_tag=e61745a6b7add50d380cfd7d3883dd6c62fc2c71
+source=(git+https://github.com/google/brotli#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd brotli
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  export CC='gcc -m32'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  cmake -S brotli -B build \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib32
+  cmake --build build
+}
+
+check() {
+  cmake --build build --target test
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  rm -rf "${pkgdir}"/usr/{bin,include}
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s brotli "${pkgdir}"/usr/share/licenses/lib32-brotli
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list