summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1cd61c40101bb1d9d92eded748586b2be6e4b409 (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
33
34
# Maintainer: Dan Johansen <strit@strits.dk>

_pkgname=PowerManager
pkgname=desq-utils-powermanager
pkgver=0.0.8
pkgrel=2
pkgdesc="Power manager for DesQ"
arch=('x86_64' 'aarch64')
url="https://gitlab.com/DesQ/DesQUtils/${_pkgname}"
license=('GPL3')
depends=('qt5-base'
        'libdesq'
        'dfl-wayqt'
        'dfl-settings'
        'dfl-login1'
        'dfl-power'
        'dfl-utils'
        'dfl-xdg'
        'dfl-applications')
makedepends=('meson'
            'ninja')
source=("https://gitlab.com/DesQ/DesQUtils/${_pkgname}/-/archive/v${pkgver}/${_pkgname}-v${pkgver}.tar.gz")
md5sums=('635e46b9d30582be52ad2d5a07bdc597')

build() {
  cd "${_pkgname}-v${pkgver}"
  meson setup .build --prefix=/usr --buildtype=release
  ninja -C .build
}

package() {
  cd "${_pkgname}-v${pkgver}"
  DESTDIR="${pkgdir}" ninja -C .build install
}