diff options
author | Leo <thinkabit.ukim@gmail.com> | 2021-02-08 05:03:07 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-02-08 08:18:02 +0000 |
commit | 9e5d707e1dd9fe212abdaf0431e9c0ded4319bd5 (patch) | |
tree | 10de14cc6f537511fd9f8a5b2d6decde495ed97a | |
parent | 0e4ad0fae5ee292c1a54afd49ac88be9cd24885d (diff) |
testing/timed: fix location of dbus conf and remove systemd files
-rw-r--r-- | testing/timed/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/testing/timed/APKBUILD b/testing/timed/APKBUILD index 42598e64304..4f7822a6617 100644 --- a/testing/timed/APKBUILD +++ b/testing/timed/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=timed pkgver=3.6.9 -pkgrel=1 +pkgrel=2 pkgdesc="The time daemon manages system time, timezone and settings, executing actions at given time and managing the event queue" url="https://git.sailfishos.org/mer-core/timed" arch="all" @@ -21,6 +21,11 @@ prepare() { # Taken from upstream RPM packaging mkdir -p src/h/timed-qt5 ln -f src/lib/qmacro.h src/h/timed-qt5/qmacro.h + + # Fix location of the path + sed -e 's|etc/dbus-1|usr/share/dbus-1|' \ + -i src/server/server.pro \ + -i tests/ut_networktime/ut_networktime.pro } build() { @@ -37,6 +42,9 @@ package() { # Remove installed tests rm -r "$pkgdir"/opt + + # Remove systemd stuff + rm -rf "$pkgdir"/usr/lib/systemd } sha512sums="d30a11dc290bd144ed88749e2600072e5a283543b80c858367e13048b1bb9c9f71718415854c31daf6c46cda7f785cf1713d07abaeda2166308898a24457a89e timed-3.6.9.tar.gz |