summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a0a96f45e3f865cb77e565b8302c1cbbcaa8969 (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
# Maintainer: Nafis <mnabid.25@outlook.com>

_pkgname=gnome-github-notifications
pkgname=gnome-shell-extension-github-notifications-git
pkgver=r31.358c5a4
pkgrel=1
pkgdesc="Integrate Github's notifications within the GNOME desktop environment"
arch=('any')
url="https://github.com/alexduf/gnome-github-notifications"
license=('GPL')
depends=('gnome-shell')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")

source=("git+https://github.com/alexduf/${_pkgname}")
md5sums=('SKIP')

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

package() {
	_uuid="github.notifications@alexandre.dufournet.gmail.com"
	mkdir -p ${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}
	cp -r ${srcdir}/${_pkgname}/* ${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}
}