blob: ebe5b487a6649c832f0fe96488c6e908ea0de8a3 (
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: Matthieu Leboeuf <contact at matthieul dot dev>
# Contributor: skrewball <aur at joickle dot com> gitlab.com/skrewball/aur
pkgname=gnome-shell-extension-app-icons-taskbar
_pkgbase=aztaskbar
pkgver=27
pkgrel=1
pkgdesc="A simple app icon taskbar. Show running apps and favorites on the main panel."
arch=('any')
url="https://gitlab.com/AndrewZaech/aztaskbar"
license=('GPL3')
depends=('dconf' 'gnome-shell>=1:45')
source=("${url}/-/archive/v${pkgver}/${_pkgbase}-v${pkgver}.tar.gz")
b2sums=('6bf5a3f9f9f3eddc24660ed0ff8eca9dab6d50a47fdfd30ab6cbc7a934280de3396b385a7cdec95d400cf290323a5fce31c0dc273d4ba8dfaf011c66e9e3fd56')
build() {
cd "${_pkgbase}-v${pkgver}"
make mergepo \
&& make VERSION="${pkgver}" _build
}
package() {
cd "${_pkgbase}-v${pkgver}/_build"
local _uuid=$(grep -Po '(?<="uuid": ")[^"]*' metadata.json)
local _destdir="${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
install -Dm644 -t "${_destdir}" metadata.json *.js *.css
cp -r --no-preserve=ownership,mode media "${_destdir}"
install -Dm644 -t "${pkgdir}/usr/share/glib-2.0/schemas/" schemas/*.xml
cd locale
for locale in */
do
install -Dm644 -t "${pkgdir}/usr/share/locale/${locale}/LC_MESSAGES" "${locale}/LC_MESSAGES"/*.mo
done
}
|