# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=profiled pkgver=1.0.13 pkgrel=1 _commit_dbus_glib="d42176ae4763e5288ef37ea314fe58387faf2005" pkgdesc="Gets default set of settings from profile data packages that are installed on the device" url="https://github.com/sailfishos/profiled" arch="all" license="BSD-2-Clause" makedepends=" dbus-dev doxygen glib-dev " subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://github.com/sailfishos/profiled/archive/$pkgver/profiled-$pkgver.tar.gz https://github.com/sailfishos-mirror/dbus-glib/archive/$_commit_dbus_glib/dbus-glib-$_commit_dbus_glib.tar.gz profiled.desktop " prepare() { default_prepare rmdir dbus-gmain mv "$srcdir/dbus-glib-$_commit_dbus_glib" dbus-gmain } build() { make } package() { ROOT="$pkgdir" make install install -Dm644 "$srcdir"/profiled.desktop -t "$pkgdir"/etc/xdg/autostart/ # We don't have systemd rm -r "$pkgdir"/usr/lib/systemd } sha512sums=" 2b1e7ab72407bcab2007637f8f1213a1fab2bbb62beabe36849c6861970310839985efa6b087882a7ba2ea3777a4ec8bb4e61336b08f8d9665c3861374b68ca5 profiled-1.0.13.tar.gz 665cd6395ee0ea14086ba30188c62a72697b3f63484681e18fc7f54109c9aca162f2e33aa2fa4d45287c6c0b590e81ca310c143dac0232cd5887692cdaf51256 dbus-glib-d42176ae4763e5288ef37ea314fe58387faf2005.tar.gz c19c3c00aace7bc0b2be3759e9db24a672d1dcf0441868f8a4519e8f60db243e682974f432b20ecce7ed98cb55e5df430d9d70cf0ffe21ee9b079280df37a6d2 profiled.desktop "