summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 888a40d138896cd37944c9513f811c4801a43819 (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=0.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;s/^v//g'
}

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

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

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