blob: e50c167ef0d355bcfc3bc21cc16c747959cf1845 (
plain)
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
|
# Maintainer: zaps166 <spaz16 at wp dot pl>
_pkgname=xfce4-dpr-changer
pkgname=${_pkgname}-git
pkgver=r4.ga6487bb
pkgrel=1
pkgdesc="Change display scaling from system tray in Xfce4 desktop"
arch=('x86_64')
url='https://github.com/zaps166/xfce4-dpr-changer'
license=('Unlicense')
depends=('qt6-base')
makedepends=('cmake' 'git')
source=("git+https://github.com/zaps166/xfce4-dpr-changer.git")
sha1sums=(SKIP)
provides=(${_pkgname})
conflits=(${_pkgname})
pkgver() {
cd ${_pkgname}
echo r$(git rev-list --all --count).g$(git rev-parse --short HEAD)
}
build() {
cd ${_pkgname}
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${_pkgname}
make DESTDIR="${pkgdir}" install
}
|