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

_pkgname=Lock
pkgname=desq-utils-lock
pkgver=0.0.8
pkgrel=2
pkgdesc="Screen Locker for DesQ"
arch=('x86_64' 'aarch64')
url="https://gitlab.com/DesQ/DesQUtils/${_pkgname}"
license=('GPL3')
depends=('qt5-base'
        'libdesq'
        'pam'
        'dfl-wayqt'
        'dfl-settings'
        'dfl-applications')
makedepends=('meson'
            'ninja')
source=("https://gitlab.com/DesQ/DesQUtils/${_pkgname}/-/archive/v${pkgver}/${_pkgname}-v${pkgver}.tar.gz")
md5sums=('ec55381905990d794b9d6469c34b17fa')

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
}