summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 61d9cf1f8ae822f1db33b138f447afc4579b419c (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
# Maintainer: Jamie Magee <jamie dot magee at gmail dot com>
_extensionuuid=emoji-selector@maestroschan.fr
pkgname=gnome-shell-extension-emoji-selector-git
pkgver=23.r9.ga011df3
pkgrel=1
pkgdesc="Gnome shell emoji picker Extension."
arch=(any)
url="https://github.com/maoschanz/emoji-selector-for-gnome"
license=('GPL3')
depends=('gnome-shell>=3.32')
makedepends=('git')
optdepends=('ttf-joypixels: Emoji as a Service (formerly EmojiOne)'
						'noto-fonts-emoji: Google Noto emoji fonts')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
install=gnome-shell-extension.install
source=("${pkgname%-git}::git+${url}")
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	install -d "${pkgdir}/usr/share/gnome-shell/extensions/${_extensionuuid}"
	cp -a "${srcdir}/${pkgname%-git}/${_extensionuuid}"/* \
		"${pkgdir}/usr/share/gnome-shell/extensions/${_extensionuuid}"
}