blob: af0037fc6bd5cb38a7e6344ad57364c163859cc0 (
plain)
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
|
# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>
pkgname=gnome-shell-extension-alphabetical-grid-extension-git
pkgver=17.0.r0.g7594ebd
pkgrel=1
pkgdesc="Restore the alphabetical ordering of the app grid, removed in GNOME 3.38 "
arch=('any')
url="https://github.com/stuarthayhurst/alphabetical-grid-extension"
license=('GPL3')
depends=('gnome-shell>=3.38')
makedepends=('git' 'zip')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+$url.git)
_source=alphabetical-grid-extension
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${_source}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${_source}"
make build
}
package() {
_uuid='AlphabeticalAppGrid@stuarthayhurst'
_install_dir="${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
install -d ${_install_dir}
cd "$srcdir/${_source}"
bsdtar xvf ${_uuid}.shell-extension.zip -C ${_install_dir}
install -Dm644 "schemas/org.gnome.shell.extensions.AlphabeticalAppGrid.gschema.xml" -t "${pkgdir}/usr/share/glib-2.0/schemas/"
install -Dm644 "LICENSE.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|