pkgname = "xrdb"
pkgver = "1.2.1"
pkgrel = 0
build_style = "gnu_configure"
configure_args = ["--with-cpp=/usr/bin/clang-cpp,/usr/bin/cpp"]
hostmakedepends = ["pkgconf"]
makedepends = ["libx11-devel", "libxmu-devel"]
pkgdesc = "X server resource database utility"
maintainer = "q66 <q66@chimera-linux.org>"
license = "MIT"
url = "https://xorg.freedesktop.org"
source = f"$(XORG_SITE)/app/{pkgname}-{pkgver}.tar.bz2"
sha256 = "4f5d031c214ffb88a42ae7528492abde1178f5146351ceb3c05f3b8d5abee8b4"
hardening = ["vis", "cfi"]

def post_install(self):
    self.install_license("COPYING")
