Date: Wednesday, December 23, 2020 @ 13:40:14
Author: arojas
Revision: 784224
archrelease: copy trunk to community-x86_64
Added:
libquotient/repos/
libquotient/repos/community-x86_64/
libquotient/repos/community-x86_64/PKGBUILD
(from rev 784223, libquotient/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: libquotient/repos/community-x86_64/PKGBUILD (from rev 784223,
libquotient/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2020-12-23 13:40:14 UTC (rev 784224)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Alexey Andreyev <[email protected]>
+# Contributor Sefa Eyeoglu <[email protected]>
+
+pkgname=libquotient
+pkgver=0.6.2
+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)
+makedepends=(cmake)
+source=("https://github.com/quotient-im/libQuotient/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('afa9ee64327b9fdbf1d8514ec9b1374b797560b43315911211f723acf01ff317')
+
+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
+}