Date: Sunday, May 7, 2023 @ 20:22:34
Author: arojas
Revision: 1459424
archrelease: copy trunk to community-x86_64
Added:
libomemo-c/repos/
libomemo-c/repos/community-x86_64/
libomemo-c/repos/community-x86_64/PKGBUILD
(from rev 1459423, libomemo-c/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: libomemo-c/repos/community-x86_64/PKGBUILD (from rev 1459423,
libomemo-c/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2023-05-07 20:22:34 UTC (rev 1459424)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=libomemo-c
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='Fork of libsignal-protocol-c adding support for OMEMO XEP-0384 0.5.0+'
+arch=(x86_64)
+url='https://github.com/dino/libomemo-c'
+license=(GPL)
+depends=(glibc)
+makedepends=(cmake)
+source=(https://github.com/dino/libomemo-c/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('03195a24ef7a86c339cdf9069d7f7569ed511feaf55e853bfcb797d2698ba983')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+