# Maintaner: Francesco Masala # Contributor: lotation pkgname=bottles _pkgname=Bottles pkgver=51.21 pkgrel=1 epoch=2 pkgdesc='Easily manage wine and proton prefix' arch=(any) url="https://github.com/bottlesdevs/Bottles" license=(GPL-3.0-only) depends=( cabextract dconf gtk4 gtksourceview5 hicolor-icon-theme icoextract imagemagick libadwaita libportal-gtk4 p7zip patool python python-chardet python-fvs python-gobject python-markdown python-orjson python-pathvalidate python-pycurl python-requests python-steamgriddb python-yaml webkit2gtk xorg-xdpyinfo vkbasalt-cli ) optdepends=( gamemode gvfs lib32-gamemode lib32-gnutls lib32-vkd3d lib32-vulkan-icd-loader vkd3d vulkan-icd-loader wine ) makedepends=( blueprint-compiler meson ninja ) source=( "${_pkgname}-${pkgver}.tar.gz::https://github.com/bottlesdevs/Bottles/archive/refs/tags/${pkgver}.tar.gz" disable-flatpak-check.patch ) sha256sums=( 3a5653464839d5dbe36d44eabb823d422421897325f3c7944cddc9475575869d 433294318d0bb4e2d615f34b4102bc9dfa4d8d3f169a0c65909bec2a567ca51d ) prepare() { cd "${srcdir}/${_pkgname}-${pkgver}" # Fix warning about flatpak and sandbox environment patch -Np0 -i ../disable-flatpak-check.patch } build() { cd "${srcdir}/${_pkgname}-${pkgver}" meson setup --prefix='/usr' build ninja -C build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" DESTDIR="${pkgdir}" ninja -C build install } # vim: set ft=sh ts=2 sw=2 et: