[arch-commits] Commit in blosc/repos/community-x86_64 (PKGBUILD PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Sun Dec 26 01:57:16 UTC 2021


    Date: Sunday, December 26, 2021 @ 01:57:15
  Author: grawlinson
Revision: 1083821

archrelease: copy trunk to community-x86_64

Added:
  blosc/repos/community-x86_64/PKGBUILD
    (from rev 1083820, blosc/trunk/PKGBUILD)
Deleted:
  blosc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 43 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-26 01:56:36 UTC (rev 1083820)
+++ PKGBUILD	2021-12-26 01:57:15 UTC (rev 1083821)
@@ -1,41 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-
-pkgname=blosc
-pkgver=1.21.1
-pkgrel=1
-pkgdesc='A blocking, shuffling and loss-less compression library'
-arch=('x86_64')
-url='https://www.blosc.org'
-license=('BSD')
-depends=('snappy' 'zstd')
-makedepends=('cmake')
-options=(staticlibs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Blosc/c-blosc/archive/v${pkgver}.tar.gz")
-sha512sums=('e06712ffaeaa6892415a6b01219221426c20af4191db6ca923301313daa8f5b0a83a7a3cd273f7013766349ace4e4869590e9c44bd892e57027ca45de53779e7')
-b2sums=('a6a48d79fc8cb3df277e878a69361a5d12552be4b8ae50a4a95d2fe48d5b073c849724913a20c2834de7cf3cac7f288ddfec977ed1e4a1875fc3d21975907b44')
-
-build() {
-  cd "${srcdir}"
-  rm -rf build
-  mkdir build
-  cd build
-
-  cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-        -DDEACTIVATE_SNAPPY="OFF" \
-        -DPREFER_EXTERNAL_LZ4="ON" \
-	-DPREFER_EXTERNAL_ZLIB="ON" \
-	-DPREFER_EXTERNAL_ZSTD="ON" \
-        -DBUILD_TESTS="OFF" \
-        ../c-blosc-${pkgver}
-
-  make
-}
-
-package() {
-  cd "${srcdir}/build"
-
-  make DESTDIR="${pkgdir}" install
-
-  install -Dm644 "$srcdir"/c-blosc-${pkgver}/LICENSES/BLOSC.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-}

Copied: blosc/repos/community-x86_64/PKGBUILD (from rev 1083820, blosc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-26 01:57:15 UTC (rev 1083821)
@@ -0,0 +1,43 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=blosc
+pkgver=1.21.1
+pkgrel=2
+pkgdesc='A blocking, shuffling and loss-less compression library'
+arch=('x86_64')
+url='https://www.blosc.org'
+license=('BSD')
+depends=('snappy' 'zstd')
+makedepends=('cmake')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Blosc/c-blosc/archive/v${pkgver}.tar.gz")
+sha512sums=('e06712ffaeaa6892415a6b01219221426c20af4191db6ca923301313daa8f5b0a83a7a3cd273f7013766349ace4e4869590e9c44bd892e57027ca45de53779e7')
+b2sums=('a6a48d79fc8cb3df277e878a69361a5d12552be4b8ae50a4a95d2fe48d5b073c849724913a20c2834de7cf3cac7f288ddfec977ed1e4a1875fc3d21975907b44')
+
+build() {
+  cmake \
+    -B build \
+    -S "c-blosc-$pkgver" \
+    -DCMAKE_INSTALL_PREFIX="/usr" \
+    -DBUILD_STATIC="OFF" \
+    -DDEACTIVATE_SNAPPY="OFF" \
+    -DPREFER_EXTERNAL_LZ4="ON" \
+    -DPREFER_EXTERNAL_ZLIB="ON" \
+    -DPREFER_EXTERNAL_ZSTD="ON"
+
+  cmake --build build
+}
+
+check() {
+  cd build
+
+  ctest --output-on-failure
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -vDm644 \
+    "c-blosc-$pkgver/LICENSES/BLOSC.txt" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list