gnome-shell-extension-app-folder-grid-dimensions-git
LOW
maintainer luanrz
0 votes
scanned 2026-10-21 07:31:05.029830
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: luanrz <luanrz@qq.com>
2
3
_pkgname=gnome-shell-extension-app-folder-grid-dimensions
4
pkgname=$_pkgname-git
5
pkgver=20261021.3.e621f28
6
pkgrel=1
7
pkgdesc='Customize the number of rows and columns in the GNOME app folder grid (git)'
8
arch=('any')
9
url='https://github.com/luanrz/gnome-shell-extension-app-folder-grid-dimensions'
10
license=('MIT')
11
depends=('gnome-shell')
12
makedepends=('git' 'glib2')
13
14
_uuid='app-folder-grid-dimensions@luanrz'
15
_schema='org.gnome.shell.extensions.app-folder-grid-dimensions'
16
17
source=("git+$url.git")
18
sha256sums=('SKIP')
19
20
pkgver() {
21
cd "$srcdir/$_pkgname"
22
local commit_date count hash
23
commit_date=$(/usr/bin/date -u -d "@$(git log -1 --format=%ct)" '+%Y%m%d')
24
count=$(git rev-list --count HEAD)
25
hash=$(git rev-parse --short=7 HEAD)
26
printf '%s.%s.%s' "$commit_date" "$count" "$hash"
27
}
28
29
check() {
30
cd "$srcdir/$_pkgname"
31
glib-compile-schemas --strict --dry-run schemas/
32
}
33
34
package() {
35
cd "$srcdir/$_pkgname"
36
37
install -d "$pkgdir/usr/share/gnome-shell/extensions/$_uuid"
38
install -m644 extension.js prefs.js metadata.json \
39
"$pkgdir/usr/share/gnome-shell/extensions/$_uuid/"
40
41
# Install the XML only; glib2's pacman hook compiles it system-wide. Do not
42
# ship a local schemas/ directory without gschemas.compiled: getSettings()
43
# would prefer it.
44
install -Dm644 "schemas/$_schema.gschema.xml" \
45
"$pkgdir/usr/share/glib-2.0/schemas/$_schema.gschema.xml"
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-21 07:31:05 | Low | 1 |
| 2026-10-21 05:30:25 | Low | 1 |