# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libresource pkgver=0.23.2 pkgrel=0 pkgdesc="Nemo's libresource" url="https://git.sailfishos.org/mer-core/libresource" arch="all" license="LGPL-2.1-only" depends_dev="dbus-dev dbus-glib-dev check-dev" makedepends="$depends_dev automake autoconf libtool" subpackages="$pkgname-static $pkgname-dev" source="https://git.sailfishos.org/mer-core/libresource/-/archive/$pkgver/libresource-$pkgver.tar.gz fix-pkgconfig-version.patch " options="!check" # No suitable tests prepare() { default_prepare echo "$pkgver" > .tarball-version ./autogen.sh } build() { ./configure \ --prefix=/usr make -j1 # For some reason it breaks otherwise } package() { DESTDIR="$pkgdir" make install # Remove tests rm -rf "$pkgdir"/opt } sha512sums="c185d8a3e509004a9905ed02fb914a8ffcb45a68f9ccfe40ef4b6a19597877c23c7e3887b6df1b4269f080fede13265a22166060568e763b18947f509145ac19 libresource-0.23.2.tar.gz 66fde0af9185b3e1f484db34040bb0929b6da1e89df050a99570286b194d12a42acd5dbf76fc5e1ba6fa8201640fff4d58098d23515152b366963f2b16761fa7 fix-pkgconfig-version.patch"