summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d484d510644a384c7e455456e548397801d8fee1 (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
# Maintainer: Tony Lambiris <tony@criticalstack.com>

pkgname=gnome-shell-extension-mmod-panel-git
_gitname=mmod-panel
pkgver=r40.40a58cd
pkgrel=2
pkgdesc="Create a customizable panel for Gnome 3"
arch=('any')
url="https://github.com/RyanGipson/mmod-panel"
license=('GPL3')
depends=('gnome-shell')
makedepends=('git')
source=('git+https://github.com/RyanGipson/mmod-panel.git')
sha256sums=('SKIP')

pkgver() {
	cd $_gitname

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

package() {
	cd $_gitname

    _extid="mmod-panel@mmogp.com"
	_extpath="${pkgdir}/usr/share/gnome-shell/extensions/${_extid}"

	install -dm755 "${_extpath}"
	cp -a * "${_extpath}"
}