summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c76006a0cd80489268768119b7b6c7ec15e8b964 (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
# Maintainer: sineptic <sineptic0@gmail.com>
pkgname=speaker-keepalive
pkgver=1.0.0
pkgrel=1
pkgdesc="Keep speakers with a shutdown timer alive"
arch=('any')
url="https://gitlab.com/Managor/speaker-keepalive"
license=('MIT')
depends=('pipewire')
makedepends=('git' 'meson')
source=("${pkgname}::git+https://gitlab.com/Managor/speaker-keepalive.git")
sha256sums=('SKIP')

build() {
  cd "${pkgname}"
  meson setup build --prefix=/usr
  meson compile -C build
}

package() {
    mkdir -p "$pkgdir/usr/bin"

    cd "$pkgname"
    cp -r --no-preserve=ownership build/speaker-keepalive "$pkgdir/usr/bin"
}