# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=xfce4-hidpi
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.4
pkgrel=1
pkgdesc="HiDPI for XFCE4"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
install='.install'
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')

depends=('de-p1st-xfce4')

package() {
  cd "${_reponame}/pkg/${pkgname}"

  install -Dm0544 xsettings.xml.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.holoscript

  install -Dm0644 99_hidpi.sh              "$pkgdir"/etc/profile.d/99_hidpi.sh

  install -Dm0644 p1st-hidpi.conf "$pkgdir"/etc/sddm.conf.d/p1st-hidpi.conf
}
