mimebind
LOW
maintainer sachesi
0 votes
scanned 2026-09-18 19:28:54.129711
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: sachesi <xsachesi@pm.me>
2
3
# pkgver and sha256sums are filled in by .github/workflows/aur.yml for each release.
4
pkgname=mimebind
5
pkgver=0.2.0
6
pkgrel=1
7
pkgdesc='Choose which application opens which file type'
8
arch=('x86_64' 'aarch64')
9
url='https://github.com/sachesi/mimebind'
10
license=('GPL-3.0-or-later')
11
depends=('gtk4>=1:4.12' 'libadwaita>=1:1.5' 'glib2' 'shared-mime-info' 'hicolor-icon-theme'
12
'libgcc' 'glibc')
13
makedepends=('cargo' 'blueprint-compiler' 'just' 'gettext')
14
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
15
sha256sums=('08040147b034b1b941acf0c9cf4eabff46bd9356fb380a35d9a4705a8d738401')
16
17
prepare() {
18
cd "$pkgname-$pkgver"
19
export RUSTUP_TOOLCHAIN=stable
20
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
21
}
22
23
build() {
24
cd "$pkgname-$pkgver"
25
export RUSTUP_TOOLCHAIN=stable
26
export CARGO_TARGET_DIR=target
27
export MIMEBIND_LOCALEDIR=/usr/share/locale
28
cargo build --frozen --release
29
}
30
31
check() {
32
cd "$pkgname-$pkgver"
33
export RUSTUP_TOOLCHAIN=stable
34
export CARGO_TARGET_DIR=target
35
# association_round_trips needs an installed application that declares a MIME type,
36
# which a clean build root does not have.
37
cargo test --frozen -- --skip catalog::tests::association_round_trips
38
}
39
40
package() {
41
cd "$pkgname-$pkgver"
42
DESTDIR="$pkgdir" just prefix=/usr install
43
# The install recipe refreshes the caches even when staged; pacman's hooks own them.
44
rm -f "$pkgdir/usr/share/applications/mimeinfo.cache" \
45
"$pkgdir/usr/share/icons/hicolor/icon-theme.cache"
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-18 19:28:54 | Low | 1 |