arch/pkg/de-p1st-xfce4-hidpi/PKGBUILD

28 lines
888 B
Bash

# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=xfce4-hidpi
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.10
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/20-"$pkgname"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.holoscript
install -Dm0544 thunar.xml.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.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
}