upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / libomemo-c / trunk / PKGBUILD
blob31193e9409b905064fdf179876981a9b22cd54ce
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=libomemo-c
4 pkgver=0.5.0
5 pkgrel=1
6 pkgdesc='Fork of libsignal-protocol-c adding support for OMEMO XEP-0384 0.5.0+'
7 arch=(x86_64)
8 url='https://github.com/dino/libomemo-c'
9 license=(GPL)
10 depends=(glibc)
11 makedepends=(cmake)
12 source=(https://github.com/dino/libomemo-c/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('03195a24ef7a86c339cdf9069d7f7569ed511feaf55e853bfcb797d2698ba983')
15 build() {
16   cmake -B build -S $pkgname-$pkgver \
17     -DCMAKE_INSTALL_PREFIX=/usr \
18     -DBUILD_SHARED_LIBS=ON
19   cmake --build build
22 package() {
23   DESTDIR="$pkgdir" cmake --install build