# Maintainer: Tai Lam # Contributor (AUR): Emily Ellis pkgname=tangara-companion pkgver=0.4.3 pkgrel=1 pkgdesc="Companion app for Tangara from Cool Tech Zone" depends=() makedepends=('cargo' 'cmake' 'meson' 'libadwaita-1-dev' 'libgtk-4-dev' 'librust-libudev-sys-dev' 'python-is-python3') arch=(amd64) url="https://github.com/haileys/tangara-companion" license=('GPL-3.0-or-later') source=("https://github.com/haileys/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz") b2sums=('7adda54a25983cf4f550cef4880d8078eff7f7bc51718fbd440231c5464bd113467d0445ad04292addc4dec83631b897b8b726412374f0c5ca4a9475fd3d10fd') options=('!lto') prepare() { cd "$pkgname-$pkgver" meson setup --buildtype=release --prefix="$pkgdir/usr" builddir } build() { cd "$pkgname-$pkgver" meson compile -C builddir } package() { cd "$pkgname-$pkgver" meson install -C builddir }