phosh-arch/wys/PKGBUILD

29 lines
742 B
Bash
Raw Permalink Normal View History

2024-08-13 17:17:11 +02:00
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=wys
pkgver=0.1.11
pkgrel=1
pkgdesc="A daemon to bring up and take down PulseAudio loopbacks for phone call audio"
url="https://source.puri.sm/Librem5/wys"
license=('GPL')
arch=('x86_64' 'armv7h' 'aarch64')
depends=('glib2' 'libpulse' 'modemmanager')
makedepends=('meson' 'ninja')
source=("https://source.puri.sm/Librem5/wys/-/archive/v$pkgver/wys-v$pkgver.tar.gz")
prepare() {
cd $pkgname-v$pkgver
}
build() {
arch-meson $pkgname-v$pkgver output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
install -Dm644 $pkgname-v$pkgver/debian/wys.user-service "$pkgdir"/usr/lib/systemd/user/wys.service
}
md5sums=('4cecd05e1d35214d64402073b9234115')