summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aaf663d8097278f8233ca8e91ffa66e77c76ac51 (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
# Maintainer: grufo <madmurphy333@gmail.com>

_extname='desktop-icons'
_uuid="org.gnome.${_extname}"
pkgname="gnome-shell-extension-${_extname}"
pkgver='r24.b9c25ca'
pkgrel=1
pkgdesc='Add icons to the desktop'
arch=('x86_64' 'i686')
url='https://gitlab.gnome.org/csoriano/${_uuid}'
license=('GPL3')
depends=('gnome-shell' 'gnome-shell-extensions')
makedepends=('git')
options=('!strip')
source=("git+https://gitlab.gnome.org/csoriano/${_uuid}.git")
md5sums=('SKIP')

pkgver() {

	cd "${_uuid}"
	printf "'r%s.%s'" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

package() {

	cd "${srcdir}/${_uuid}"

	install -dm755 "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
	cp -r "${srcdir}/${_uuid}"/* "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"

}