phosh-arch/portfolio-file-manager/PKGBUILD

31 lines
866 B
Bash
Raw Normal View History

2024-08-13 17:17:11 +02:00
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=portfolio-file-manager
pkgver=1.0.1
pkgrel=1
pkgdesc="A minimalist file manager for those who want to use Linux mobile devices."
url="https://github.com/tchx84/Portfolio"
license=('GPL3')
arch=('any')
depends=('python' 'gtk4' 'libadwaita' 'python-gobject')
makedepends=('meson')
checkdepends=('python-pytest' 'xorg-server-xvfb')
replaces=('portfolio-fm')
source=(Portfolio-${pkgver}.tar.gz::https://github.com/tchx84/Portfolio/archive/v${pkgver}.tar.gz)
sha512sums=('ef297550bee61862bf17b8ffd4170dc4d7a1205a2006783ff27bb96f22427f2da322b1e4633472084b05365bb1d2201bd554cfb385412e535a58000a8c062c03')
build() {
arch-meson Portfolio-${pkgver} output
ninja -C output
}
# python tests are broken
#check() {
# xvfb-run ninja test -C output
#}
package() {
DESTDIR="${pkgdir}" ninja -C output install
}