summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 15f8aeec23f787e56b3ad9fe5620b9b093b21f13 (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
# Maintainer: Dušan Simić <dusan.simic1810@gmail.com>

pkgname=gnome-shell-extension-activate-gnome-git
pkgver=r6.93a4184
pkgrel=1
pkgdesc="A gnome-shell extension to show 'Activate Gnome' watermark"
arch=(any)
url=https://github.com/isjerryxiao/gnome-shell-extension-activate-gnome
license=(GPL3)
depends=(gnome-shell)
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+$url.git")
md5sums=(SKIP)

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

build() {
	cd "$srcdir/${pkgname%-git}"
	make
}

package() {
	cd "$srcdir/${pkgname%-git}"

	_installbase="$pkgdir/usr/share/gnome-shell/extensions"
	_extensionname='activate_gnome@isjerryxiao'
	install -d "$_installbase"
	cp -a "$_extensionname" "$_installbase"
}