mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-24 23:12:41 +01:00
41 lines
920 B
Plaintext
41 lines
920 B
Plaintext
# Contributor: fossdd <fossdd@pwned.life>
|
|
# Maintainer: fossdd <fossdd@pwned.life>
|
|
pkgname=libcmatrix
|
|
pkgver=0.0.3
|
|
pkgrel=0
|
|
pkgdesc="Matrix protocol library written in C using GObject"
|
|
url="https://source.puri.sm/Librem5/libcmatrix"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="
|
|
glib-dev
|
|
json-glib-dev
|
|
libgcrypt-dev
|
|
libsecret-dev
|
|
libsoup3-dev
|
|
meson
|
|
olm-dev
|
|
sqlite-dev
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
source="https://source.puri.sm/Librem5/libcmatrix/-/archive/v$pkgver/libcmatrix-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
460ed9b7a7c996083dd62fee285fcc1ff28718b3e8fa217599fcb92db43da41be33f0a2eda6051b42363d1e59f0cbc72e967176b7f3ad9f1624d5cb94fbcea00 libcmatrix-v0.0.3.tar.gz
|
|
"
|