phosh-arch/portfolio-file-manager/PKGBUILD
2024-08-13 08:17:11 -07:00

30 lines
866 B
Bash

# 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
}