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

_pkgname=Volume
pkgname=desq-utils-volume
pkgver=0.0.8
pkgrel=2
pkgdesc="Volume control for DesQ"
arch=('x86_64' 'aarch64')
url="https://gitlab.com/DesQ/DesQUtils/${_pkgname}"
license=('GPL3')
depends=('qt5-base'
        'qt5-svg'
        'libcanberra'
        'libpulse'
        'libdesqui'
        'libpipewire'
        'dfl-settings'
        'dfl-utils'
        'dfl-wayqt'
        'dfl-xdg'
        'dfl-applications'
        'dfl-volume')
makedepends=('meson'
            'ninja')
source=("https://gitlab.com/DesQ/DesQUtils/${_pkgname}/-/archive/v${pkgver}/${_pkgname}-v${pkgver}.tar.gz")
md5sums=('48e1e050268ebd48c0eec884b1a03fe3')

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
}