-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
41 lines (39 loc) · 1.29 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Stefan Zipproth <[email protected]>
pkgname=xfce-display-config-observer
pkgver=1.007
pkgrel=1
pkgdesc="A systemd service that monitors changes to the XFCE display configuration to automatically adjust the font DPI to match the display DPI. It also adjusts the height of the XFCE panel."
arch=(any)
url="https://github.com/acrion/xfce-display-config-observer"
license=('AGPL-3.0-or-later')
conflicts=()
install=xfce-display-config-observer.install
depends=(
bc
findutils # for xargs
grep
inotify-tools
procps-ng # for pgrep
xfconf
xmlstarlet
xorg-xrandr
)
makedepends=()
source=(
xfce-display-config-observer.1
xfce-display-config-observer.service
observer.sh
updater.sh
)
sha256sums=(
'SKIP'
'SKIP'
'SKIP'
'SKIP'
)
package() {
install -Dm644 "$srcdir/xfce-display-config-observer.1" "$pkgdir/usr/share/man/man1/xfce-display-config-observer.1"
install -Dm644 "$srcdir/xfce-display-config-observer.service" "$pkgdir/usr/lib/systemd/user/xfce-display-config-observer.service"
install -Dm755 "$srcdir/observer.sh" "$pkgdir/usr/lib/xfce4/display-config-observer/observer.sh"
install -Dm755 "$srcdir/updater.sh" "$pkgdir/usr/lib/xfce4/display-config-observer/updater.sh"
}