aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libdsme/APKBUILD
blob: a3e1ea072647b3c36c3be77d406afdc55ed3e77d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
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"