This PKGBUILD uses hardcoded make calls, which breaks for users with CMAKE_GENERATOR=Ninja
These alternatives are better CMake-integrated:
build() {
cd psi
cmake -B build -S . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DQT_DEFAULT_MAJOR_VERSION=6 \
-DCHAT_TYPE=WEBENGINE
cmake --build build
}
package() {
cd psi
DESTDIR="$pkgdir" cmake --install build
install -dm755 "$pkgdir/usr/include/psi/plugins"
install -m644 plugins/include/*.h "$pkgdir/usr/include/psi/plugins"
install -Dm644 linux/psi.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
}
Pinned Comments
marco44 commented on 2026-02-19 10:30 (UTC)
I restarted this because the regular psi crashes systematically on my computer, and the release is 5 years old (1.5). This version works flawlessly for me. I hope it's useful to other people