summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91d394646ae44c967bb6ffa2d24edca6a756d84b (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
# Maintainer: Shiba
pkgname=gnome-shell-extension-add-on-desktop-git
pkgver=r7.8651303
pkgrel=1
pkgdesc="GNOME Shell extension to add applications launcher on your desktop"
arch=('any')
url="https://github.com/maoschanz/gnome-shell-extension-add-on-desktop"
license=('GPL3')
depends=('gnome-shell')
makedepends=('git')
source=('git+https://github.com/maoschanz/gnome-shell-extension-add-on-desktop.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	_extid='add-on-desktop@maestroschan.fr'
	cd "$srcdir/${pkgname%-git}"

	install -d "${pkgdir}/usr/share/gnome-shell/extensions/${_extid}"
	cp -R convenience.js extension.js metadata.json locale/ "${pkgdir}/usr/share/gnome-shell/extensions/${_extid}"
}