blob: 60459870b3e2d3cfc6bfabc2e2519539f416d871 (
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
|
# Maintainer: Christian Schendel <doppelhelix at gmail dot com>
pkgname=gnome-shell-extension-applications-overview-tooltip-git
pkgver=v10.r2.g2e81270
pkgrel=2
_commit=2e81270c728f421f915900cab2725a8e20c87b0a
pkgdesc="Shows a tooltip over applications icons on applications overview"
arch=(any)
url="https://github.com/RaphaelRochet/applications-overview-tooltip"
install=${pkgname%-git}.install
license=('GPL')
depends=('gnome-shell>=3.38')
makedepends=('git' 'glib2')
conflicts=("${pkgname%-git}")
provides=(${pkgname%-git})
source=("${pkgname%-git}::git+https://github.com/RaphaelRochet/applications-overview-tooltip.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
package() {
_uuid="applications-overview-tooltip@RaphaelRochet"
cd "${srcdir}"
chmod -R 644 ./*
install -d "${pkgdir}/usr/share/gnome-shell/extensions/"
mv ${pkgname%-git} ${_uuid}
cp -r "${_uuid}" "${pkgdir}/usr/share/gnome-shell/extensions/"
#rebuild compiled schemas if missing
if [[ ! -f "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}/schemas/gschemas.compiled" ]]; then
glib-compile-schemas ${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}/schemas
fi
chmod -R 755 "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}/"
}
|