# Maintaner: Francesco Masala # Contributor: Francesco Masala pkgname=bottles pkgver=2022.2.28 pkgrel=2 pkgdesc='Easily manage wine and proton prefix' arch=('x86_64') url="https://github.com/bottlesdevs/Bottles" license=('GPL3') depends=( 'lib32-gnutls' 'gtksourceview3' 'gtksourceview4' 'hicolor-icon-theme' 'dconf' 'python' 'libhandy' 'gtk3' 'patool' 'p7zip' 'python-gobject' 'python-requests' 'python-yaml' 'python-markdown' 'wine' 'cabextract' 'webkit2gtk' 'xorg-xdpyinfo') optdepends=( 'gvfs' 'vkd3d' 'lib32-vkd3d' 'lib32-vulkan-icd-loader' 'vulkan-icd-loader' 'gamemode') makedepends=('meson' 'ninja') source=("${pkgname}-${pkgver}-trento-1.tar.gz::https://github.com/bottlesdevs/Bottles/archive/${pkgver}-trento-1.tar.gz") sha256sums=('c3d95b3d8bc22730e4b1e26a418b47d8c59cceeef6ca9598c905f4c9d0b392dd') build() { if [[ -d Bottles ]]; then rm -rf Bottles fi; mv Bottles*/ Bottles/ cd "Bottles" meson --prefix='/usr' build ninja -C build } package() { cd "Bottles" DESTDIR="${pkgdir}" ninja -C build install }