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

Felix Yan felixonmars at archlinux.org
Wed Nov 11 06:55:42 UTC 2020


    Date: Wednesday, November 11, 2020 @ 06:55:42
  Author: felixonmars
Revision: 400242

archrelease: copy trunk to staging-x86_64

Added:
  brotli/repos/staging-x86_64/PKGBUILD
    (from rev 400241, brotli/trunk/PKGBUILD)
Deleted:
  brotli/repos/staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  154 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 77 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 06:55:29 UTC (rev 400241)
+++ PKGBUILD	2020-11-11 06:55:42 UTC (rev 400242)
@@ -1,77 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Lex Black <autumn-wind at web dot de>
-# Contributor: TingPing <tingping at tingping.se>
-# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
-
-pkgbase=brotli
-pkgname=('brotli' 'python-brotli' 'brotli-testdata')
-_gitcommit=e61745a6b7add50d380cfd7d3883dd6c62fc2c71
-pkgver=1.0.9
-pkgrel=3
-pkgdesc='Generic-purpose lossless compression algorithm'
-url='https://github.com/google/brotli'
-arch=('x86_64')
-license=('MIT')
-makedepends=('git' 'glibc' 'gcc-libs' 'cmake' 'python-setuptools')
-source=(${pkgname}::"git+${url}#commit=${_gitcommit}")
-sha512sums=('SKIP')
-
-prepare() {
-  cd ${pkgbase}
-  git cherry-pick -n 09b0992b6acb7faa6fd3b23f9bc036ea117230fc # Fix broken Libs: in pc file
-}
-
-pkgver() {
-  cd ${pkgbase}
-  git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-build() {
-  cd ${pkgbase}
-  python setup.py build
-  cmake -B build \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-	-DBUILD_SHARED_LIBS=True
-  make -C build VERBOSE=1
-}
-
-check() {
-  cd ${pkgbase}
-  make test
-  python setup.py test
-}
-
-package_brotli() {
-  depends=('gcc-libs' 'glibc')
-  provides=(libbrotlicommon.so libbrotlidec.so libbrotlienc.so)
-
-  cd ${pkgbase}
-  make -C build DESTDIR="$pkgdir" install
-  local man;
-  for man in docs/*.?; do
-    install -Dm 644 "$man" "$pkgdir/usr/share/man/man${man##*.}/${man##*/}"
-  done
-  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-}
-
-package_python-brotli() {
-  pkgdesc+=' - python library'
-  depends=('python' 'glibc' 'gcc-libs')
-
-  cd ${pkgbase}
-  python setup.py install --skip-build -O1 --root="$pkgdir"
-  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-}
-
-package_brotli-testdata() {
-  pkgdesc+=' - test data'
-  depends=()
-
-  cd ${pkgbase}
-  install -dm755 "$pkgdir"/usr/share/brotli
-  cp -a tests/testdata "$pkgdir"/usr/share/brotli/
-  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: brotli/repos/staging-x86_64/PKGBUILD (from rev 400241, brotli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 06:55:42 UTC (rev 400242)
@@ -0,0 +1,77 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: TingPing <tingping at tingping.se>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgbase=brotli
+pkgname=('brotli' 'python-brotli' 'brotli-testdata')
+_gitcommit=e61745a6b7add50d380cfd7d3883dd6c62fc2c71
+pkgver=1.0.9
+pkgrel=4
+pkgdesc='Generic-purpose lossless compression algorithm'
+url='https://github.com/google/brotli'
+arch=('x86_64')
+license=('MIT')
+makedepends=('git' 'glibc' 'gcc-libs' 'cmake' 'python-setuptools')
+source=(${pkgname}::"git+${url}#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+prepare() {
+  cd ${pkgbase}
+  git cherry-pick -n 09b0992b6acb7faa6fd3b23f9bc036ea117230fc # Fix broken Libs: in pc file
+}
+
+pkgver() {
+  cd ${pkgbase}
+  git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+  cd ${pkgbase}
+  python setup.py build
+  cmake -B build \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+	-DBUILD_SHARED_LIBS=True
+  make -C build VERBOSE=1
+}
+
+check() {
+  cd ${pkgbase}
+  make test
+  python setup.py test
+}
+
+package_brotli() {
+  depends=('gcc-libs' 'glibc')
+  provides=(libbrotlicommon.so libbrotlidec.so libbrotlienc.so)
+
+  cd ${pkgbase}
+  make -C build DESTDIR="$pkgdir" install
+  local man;
+  for man in docs/*.?; do
+    install -Dm 644 "$man" "$pkgdir/usr/share/man/man${man##*.}/${man##*/}"
+  done
+  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+package_python-brotli() {
+  pkgdesc+=' - python library'
+  depends=('python' 'glibc' 'gcc-libs')
+
+  cd ${pkgbase}
+  python setup.py install --skip-build -O1 --root="$pkgdir"
+  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+package_brotli-testdata() {
+  pkgdesc+=' - test data'
+  depends=()
+
+  cd ${pkgbase}
+  install -dm755 "$pkgdir"/usr/share/brotli
+  cp -a tests/testdata "$pkgdir"/usr/share/brotli/
+  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}


More information about the arch-commits mailing list