# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libdsme pkgver=0.66.2 pkgrel=0 pkgdesc="Libraries for programs that communicate with the Device State Management Entity" arch="all" url="https://git.sailfishos.org/mer-core/libdsme" license="LGPL-2.1-or-later" depends="dbus glib" depends_dev="glib-dev check-dev" makedepends="$depends_dev coreutils" subpackages="$pkgname-static $pkgname-dev" source="https://git.sailfishos.org/mer-core/libdsme/-/archive/$pkgver/libdsme-$pkgver.tar.gz fix-musl-incompatibility.patch " options="!check" # No suitable tests build() { make } package() { DESTDIR="$pkgdir" make install # Create missing symlinks ldconfig "$pkgdir"/usr/lib # Remove tests rm -rf "$pkgdir"/opt } sha512sums="4f34b3e974cd5e8dcb552fedd90ed967769dbbaef106a41f3a6b5b83c9b200a9ea4f2263f966a66a0807c5183cdbf416e60a8af92d8ebf75a656ebb34283454a libdsme-0.66.2.tar.gz 3b6e2f50fa25e30ca4753ecf3bb1a1769d2afe97f25fffc907d1941cd109c39366a95379621e46053f87f7daa0b443afd91fe9dbf80df7b099ffddacbb367404 fix-musl-incompatibility.patch"