summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc0dc1612f26ba0bedcb69dda4f6d37f8833c9cf (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: Tony Lambiris <tony@libpcap.net>

pkgname=gnome-shell-extension-mmod-panel-git
pkgver=v0.1.4.r28.g40a58cd
pkgrel=1
pkgdesc="Create a customizable panel for Gnome 3"
arch=('any')
url="https://github.com/RyanGipson/mmod-panel.git"
license=('GPL3')
depends=('gnome-shell')
makedepends=('git')
source=("${pkgname}::git+${url}")
sha256sums=('SKIP')

pkgver() {
	cd "${srcdir}/${pkgname}"

	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	cd "${srcdir}/${pkgname}"

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

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