summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a927b95d99cd6efe01b9dadfb494109a5b3f1639 (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
# Maintainer: Alex S. shantanna_at_hotmail_dot_com>

pkgname=gnome-shell-extension-shutdowntimer
pkgver=v30
pkgrel=1
pkgdesc="Shutdown your device after a specific time. This extension adds a submenu to the status area."
arch=('any')
url="https://github.com/neumann-d/ShutdownTimer"
license=('unknow')
conflicts=('gnome-shell-extension-shutdowntimer-git')
depends=('gnome-shell')
source=("git+https://github.com/neumann-d/ShutdownTimer.git")
sha256sums=('SKIP')

pkgver() {
	cd $_pkgname
	git describe --always --tags | tr '-' '_'
}

package() {
	cd "${srcdir}/ShutdownTimer"
	mkdir -p "${pkgdir}/usr/share/gnome-shell/extensions/"
	cp -af "ShutdownTimer@neumann" "${pkgdir}/usr/share/gnome-shell/extensions/"
}