summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 31fb7d52cb5af5c49ce0acb43c092a0005ea7319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=jdprocessfilewatcher
pkgver=1.1
pkgrel=2
pkgdesc="Effortlessly monitor and display real-time file access for any process"
arch=("any")
url="https://jakobdev.codeberg.page/work/app/jdProcessFileWatcher"
license=("GPL3")
depends=("python"  "python-pyqt6" "python-desktop-entry-lib" "strace" "polkit")
makedepends=("qt5-tools"  "python-build" "python-setuptools" "python-installer" "python-wheel")
source=("${pkgname}-${pkgver}.tar.gz::https://codeberg.org/JakobDev/jdProcessFileWatcher/archive/${pkgver}.tar.gz")
sha256sums=("cd0a531cdbd756008456b9e03f438260dd8d203aec2bb8dc818224c84bd336e5")

build() {
      cd "jdprocessfilewatcher"
      python -m build --wheel --no-isolation
}

package() {
    cd "jdprocessfilewatcher"
    python -m installer --destdir "$pkgdir" dist/*.whl
    python install-unix-datafiles.py --prefix "${pkgdir}/usr"
    install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}