[arch-commits] Commit in galera/repos (3 files)

Christian Hesse eworm at gemini.archlinux.org
Mon Aug 15 12:21:48 UTC 2022


    Date: Monday, August 15, 2022 @ 12:21:48
  Author: eworm
Revision: 452720

archrelease: copy trunk to testing-x86_64

Added:
  galera/repos/testing-x86_64/
  galera/repos/testing-x86_64/PKGBUILD
    (from rev 452719, galera/trunk/PKGBUILD)
  galera/repos/testing-x86_64/keys/

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: galera/repos/testing-x86_64/PKGBUILD (from rev 452719, galera/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-08-15 12:21:48 UTC (rev 452720)
@@ -0,0 +1,48 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Rustam Tsurik <rustam.tsurik at gmail.com>
+# Contributor: Nico Suarez <nicodoggie at gmail.com>
+
+pkgname=galera
+pkgver=26.4.12
+_mariadb_ver=10.8.4
+pkgrel=1
+pkgdesc='write set replication (WSREP) provider for MariaDB cluster'
+arch=('x86_64')
+license=('GPL2' 'custom:OpenSSL Linking Exception')
+depends=('mariadb' 'openssl')
+makedepends=('boost' 'check' 'cmake')
+optdepends=('rsync: State Snapshot Transfers with rsync'
+            'socat: State Snapshot Transfers with mariabackup')
+url='https://galeracluster.com/'
+options=('debug' '!libtool')
+validpgpkeys=('199369E5404BD5FC7D2FE43BCBCB082A1BB943DB') # MariaDB Package Signing Key <package-signing-key at mariadb.org>
+source=("https://rsync.osuosl.org/pub/mariadb/mariadb-${_mariadb_ver}/galera-${pkgver}/src/galera-${pkgver}.tar.gz"{,.asc})
+sha256sums=('30fb940d5442b3a6d59832a1ad7898ef29cb23d012fc8f28bf8e51e219e38ad0'
+            'SKIP')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript
+}
+
+build(){
+  cd "${pkgname}-${pkgver}"
+
+  cmake .
+  make
+}
+
+package(){
+  cd "${pkgname}-${pkgver}"
+
+  install -D -m0755 libgalera_smm.so "${pkgdir}"/usr/lib/galera/libgalera_smm.so
+  ln -s galera/libgalera_smm.so "${pkgdir}"/usr/lib/libgalera_smm.so
+
+  install -D -m0755 garb/garbd "${pkgdir}"/usr/bin/garbd
+
+  install -D -m0644 scripts/packages/README "${pkgdir}"/usr/share/doc/galera/README
+  install -D -m0644 scripts/packages/README-MySQL "${pkgdir}"/usr/share/doc/galera/README-MySQL
+  install -D -m0644 scripts/mysql/README "${pkgdir}"/usr/share/doc/galera/mysql/README
+  install -D -m0644 COPYING "${pkgdir}"/usr/share/doc/galera/COPYING
+}



More information about the arch-commits mailing list