# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libgbinder pkgver=1.1.34 pkgrel=0 pkgdesc="GLib-style interface to binder" url="https://github.com/mer-hybris/libgbinder" # s390x has failing tests and is unsupported upstream arch="all !s390x" license="BSD-3-Clause" makedepends=" glib-dev libglibutil-dev " subpackages="$pkgname-dev $pkgname-tools" source="https://github.com/mer-hybris/libgbinder/archive/$pkgver/libgbinder-$pkgver.tar.gz" build() { make KEEP_SYMBOLS=1 release pkgconfig make -C test/binder-bridge KEEP_SYMBOLS=1 release make -C test/binder-list KEEP_SYMBOLS=1 release make -C test/binder-ping KEEP_SYMBOLS=1 release } check() { make -C unit test } package() { make DESTDIR="$pkgdir" install-dev } tools() { pkgdesc="$pkgdesc (tools)" cd "$builddir" make DESTDIR="$subpkgdir" -C test/binder-bridge KEEP_SYMBOLS=1 install make DESTDIR="$subpkgdir" -C test/binder-list KEEP_SYMBOLS=1 install make DESTDIR="$subpkgdir" -C test/binder-ping KEEP_SYMBOLS=1 install } sha512sums=" a93e3d123b76dab2e9b4b7d53a844303687f058aa76bf5619945fce99f7df09404c13686b9134674daa79a5ae570e27ad156099985160322246dc73482454785 libgbinder-1.1.34.tar.gz "