Skip to content

Commit

Permalink
main/libpaper: use tmpfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Sep 29, 2024
1 parent 6d9b96c commit 83e20c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions main/libpaper/files/tmpfiles.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Create libpaper.d

d /etc/libpaper.d 0755 root root -
4 changes: 2 additions & 2 deletions main/libpaper/template.py
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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")
Expand Down

0 comments on commit 83e20c8

Please sign in to comment.