Date: Wednesday, April 26, 2023 @ 18:37:08
Author: arojas
Revision: 475213
archrelease: copy trunk to extra-x86_64
Added:
libquotient/repos/extra-x86_64/
libquotient/repos/extra-x86_64/PKGBUILD
(from rev 475212, libquotient/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: libquotient/repos/extra-x86_64/PKGBUILD (from rev 475212,
libquotient/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2023-04-26 18:37:08 UTC (rev 475213)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Alexey Andreyev <[email protected]>
+# Contributor Sefa Eyeoglu <[email protected]>
+
+pkgname=libquotient
+pkgver=0.7.1
+pkgrel=1
+pkgdesc='A Qt library to write cross-platform clients for Matrix'
+license=(LGPL)
+arch=(x86_64)
+url='https://matrix.org/docs/projects/sdk/quotient'
+depends=(qt5-multimedia qtkeychain-qt5)
+makedepends=(cmake)
+source=(https://github.com/quotient-im/libQuotient/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('48b15c666528405219ff0be8f0f336405c64deb1719115af75ef099cb3f86555')
+
+build() {
+ cmake -B build -S libQuotient-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DBUILD_SHARED_LIBS=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}