diff --git a/main/libpaper/files/tmpfiles.conf b/main/libpaper/files/tmpfiles.conf new file mode 100644 index 0000000000..75840c9fef --- /dev/null +++ b/main/libpaper/files/tmpfiles.conf @@ -0,0 +1,3 @@ +# Create libpaper.d + +d /etc/libpaper.d 0755 root root - diff --git a/main/libpaper/template.py b/main/libpaper/template.py index d5b7465df6..60efb7c66c 100644 --- a/main/libpaper/template.py +++ b/main/libpaper/template.py @@ -1,6 +1,6 @@ pkgname = "libpaper" pkgver = "2.2.5" -pkgrel = 0 +pkgrel = 1 build_style = "gnu_configure" hostmakedepends = ["pkgconf", "automake", "libtool", "gettext"] pkgdesc = "Library for handling paper characteristics" @@ -13,7 +13,7 @@ def post_install(self): self.install_license("COPYING-MIT") - self.install_dir("etc/libpaper.d", empty=True) + self.install_tmpfiles(self.files_path / "tmpfiles.conf") @subpackage("libpaper-devel")