opl-pc-tools-git
MEDIUM
maintainer elitedev
0 votes
scanned 2026-09-06 17:12:21.241024
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: Piotr Borczyk <howorang@gmail.com>
2
pkgname=opl-pc-tools-git
3
pkgver=3.0.r1.g2da4c5c
4
pkgdesc="Desktop tools for working with Open PS2 Loader storages"
5
pkgrel=1
6
arch=('x86_64')
7
url=https://github.com/brainstream/OPL-PC-Tools
8
license=('GPL-3.0-or-later')
9
depends=(qt5-base glibc gcc-libs bash)
10
makedepends=(git cmake qt5-tools base-devel)
11
source=("git+https://github.com/brainstream/OPL-PC-Tools.git")
12
sha256sums=('SKIP')
13
14
pkgver() {
15
cd OPL-PC-Tools
16
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
17
}
18
19
build() {
20
cmake -B builddir -S OPL-PC-Tools \
21
-DCMAKE_BUILD_TYPE='Release' \
22
-DCMAKE_INSTALL_PREFIX='/usr' \
23
-Wno-dev
24
cmake --build builddir
25
}
26
27
check() {
28
ctest --test-dir builddir --output-on-failure
29
}
30
31
package() {
32
DESTDIR="$pkgdir" cmake --install builddir -v --config Release
33
install -v -D -t $pkgdir/usr/bin "$srcdir/builddir/oplpctools"
34
install -v -D -t $pkgdir/usr/share/oplpctools "$srcdir/builddir/"*".qm" "$srcdir/OPL-PC-Tools/release/assets/linux/"*
35
install -v -D -t $pkgdir/usr/share/licenses/oplpctools "$srcdir/OPL-PC-Tools/LICENSE.txt"
36
install -v -D -T $srcdir/OPL-PC-Tools/src/OplPcTools/Resources/images/application.png $pkgdir/usr/share/oplpctools/icon.png
37
chmod +x $pkgdir/usr/bin/oplpctools
38
39
40
echo "[Desktop Entry]" > "OPL PC Tools.desktop"
41
echo "Exec=/usr/bin/oplpctools" >> "OPL PC Tools.desktop"
42
echo "Icon=/usr/share/oplpctools/icon.png" >> "OPL PC Tools.desktop"
43
echo "Name=OPL PC Tools" >> "OPL PC Tools.desktop"
44
echo "StartupNotify=true" >> "OPL PC Tools.desktop"
45
echo "Terminal=false" >> "OPL PC Tools.desktop"
46
echo "Type=Application" >> "OPL PC Tools.desktop"
47
echo "Categories=Game;Utility;" >> "OPL PC Tools.desktop"
48
49
chmod +x "OPL PC Tools.desktop"
50
install -v -D -t "$pkgdir/usr/share/applications/" "OPL PC Tools.desktop"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-06 17:12:21 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |