summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f808fbc55587673f43db6258ac7f7e7b5d731ec1 (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: Jerry Chanut <j.chanut@gmail.com>
pkgname=gnome-shell-extension-unblank-git
pkgver=r49.02c0920
pkgrel=1
pkgdesc="Unblank screen when screen saver becomes active."
arch=(any)
url="https://github.com/sunwxg/gnome-shell-extension-unblank"
license=('MIT')
depends=('gnome-shell>=3.26')
makedepends=('git')
provides=("${pkgname%-git}")
source=("git+${url}.git")
md5sums=('SKIP')
_extname="unblank@sun.wxg@gmail.com"

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/${pkgname%-git}"
	make DESTDIR="${pkgdir}" install
}