summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 55bcee9ad4382c2e2c1113ae2ad6e74284378cb3 (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@criticalstack.com>

pkgname=gnome-shell-extension-miniview-git
pkgver=18.609ae76
pkgrel=1
pkgdesc="GNOME Shell plugin that shows a preview window overlay"
arch=('any')
url="https://github.com/iamlemec/miniview"
license=('GPL3')
depends=('gnome-shell')
makedepends=('git')
source=("${pkgname}::git+https://github.com/iamlemec/miniview.git")
sha256sums=('SKIP')

pkgver() {
	cd ${pkgname}

	echo $(git rev-list --count master).$(git rev-parse --short master)
}

package() {
	cd ${pkgname}

    _extid="miniview@thesecretaryofwar.com"
	_extpath="${pkgdir}/usr/share/gnome-shell/extensions/${_extid}"

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