-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
58 lines (54 loc) · 1.48 KB
/
Copy pathPKGBUILD
File metadata and controls
58 lines (54 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
pkgname=lintd-bin
pkgver=1.1.0
pkgrel=1
pkgdesc="Cross-distro Linux desktop package auditor - know what is installed, remove what is not needed"
arch=('x86_64')
url="https://github.com/mfscpayload-690/lintd"
license=('MIT')
depends=(
'gtk3'
'webkit2gtk-4.1'
'libappindicator-gtk3'
'librsvg'
'fuse2'
'polkit'
)
optdepends=(
'flatpak: Flatpak package detection'
'snapd: Snap package detection'
'nvidia-utils: GPU metrics in dashboard'
)
provides=('lintd')
conflicts=('lintd')
source=(
"lintd-bin-${pkgver}-x86_64.AppImage::https://github.com/mfscpayload-690/lintd/releases/download/v${pkgver}/Lintd_v${pkgver}_amd64.AppImage"
"lintd.png::https://raw.githubusercontent.com/mfscpayload-690/lintd/main/src-tauri/icons/128x128.png"
)
sha256sums=(
'd28310f53779277b1ed404e229507791d63d6b0015f66911c13d4a0b09a69800'
'SKIP'
)
noextract=("lintd-bin-${pkgver}-x86_64.AppImage")
prepare() {
chmod +x "${srcdir}/lintd-bin-${pkgver}-x86_64.AppImage"
}
package() {
install -Dm755 \
"${srcdir}/lintd-bin-${pkgver}-x86_64.AppImage" \
"${pkgdir}/usr/bin/lintd"
install -Dm644 \
"${srcdir}/lintd.png" \
"${pkgdir}/usr/share/icons/hicolor/128x128/apps/lintd.png"
install -Dm644 /dev/stdin \
"${pkgdir}/usr/share/applications/lintd.desktop" << 'EOF'
[Desktop Entry]
Name=Lintd
Comment=Cross-distro Linux package auditor
Exec=lintd
Icon=lintd
Terminal=false
Type=Application
Categories=Utility;System;PackageManager;
Keywords=package;manager;audit;clean;remove;orphan;
EOF
}