summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dd2e6aba807406d0b9726b57920b6108644c7b60 (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
34
35
# Maintainer: surefire@cryptomile.net

pkgname=gnome-shell-extension-quake-mode-git
pkgver=3+0+g33da039
pkgrel=1
pkgdesc='Adds support quake-mode for any application'
arch=('any')
url='https://github.com/repsac-by/gnome-shell-extension-quake-mode'
license=('MIT')
depends=('gnome-shell')
makedepends=('git')
conflicts=('gnome-shell-extension-quake-mode')
provides=('gnome-shell-extension-quake-mode')
groups=('gnome-shell-extensions')
source=('git+https://github.com/repsac-by/gnome-shell-extension-quake-mode.git')
sha256sums=('SKIP')

pkgver() {
	cd gnome-shell-extension-quake-mode
	git describe --long --tags | sed 's/^v//;s/-/+/g'
}

build() {
	cd gnome-shell-extension-quake-mode
	glib-compile-schemas quake-mode@repsac-by.github.com/schemas/
}

package() {
	cd gnome-shell-extension-quake-mode

	install -d "$pkgdir/usr/share/gnome-shell/extensions"
	cp     -rt "$pkgdir/usr/share/gnome-shell/extensions" quake-mode@repsac-by.github.com

	install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}