[arch-commits] Commit in galera/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at archlinux.org
Fri May 7 15:32:08 UTC 2021


    Date: Friday, May 7, 2021 @ 15:32:08
  Author: eworm
Revision: 414568

archrelease: copy trunk to testing-x86_64

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

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

Copied: galera/repos/testing-x86_64/PKGBUILD (from rev 414567, galera/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-05-07 15:32:08 UTC (rev 414568)
@@ -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.8
+_mariadb_ver=10.5.10
+pkgrel=1
+pkgdesc='write set replication (WSREP) provider for MariaDB cluster'
+arch=('x86_64')
+license=('GPL2' 'custom:OpenSSL Linking Exception')
+depends=('mariadb' 'openssl')
+makedepends=('check' 'scons' 'boost')
+optdepends=('rsync: State Snapshot Transfers with rsync'
+            'socat: State Snapshot Transfers with mariabackup')
+url='https://galeracluster.com/'
+options=('!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=('4a12c7fdfee181bc90584f62535785181e4c7a6368747f1dd76561bbd1094009'
+            'SKIP')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript
+}
+
+build(){
+  cd "${pkgname}-${pkgver}"
+
+  scons system_asio=0
+}
+
+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