summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56b2b22b23b6e661572fc78dd15e0ba8476c56c2 (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
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=gnome-shell-extension-do-not-disturb-git
pkgver=2.0.0.r0.g27ef26f
pkgrel=1
pkgdesc="Enable or disable do not disturb mode"
arch=(any)
url="https://github.com/kylecorry31/gnome-shell-extension-do-not-disturb"
license=(MIT)
depends=(gnome-shell)
provides=(gnome-shell-extension-do-not-disturb)
conflicts=(gnome-shell-extension-do-not-disturb)
source=("git+https://github.com/kylecorry31/gnome-shell-extension-do-not-disturb.git")
sha256sums=(SKIP)

pkgver() {
    cd gnome-shell-extension-do-not-disturb
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd gnome-shell-extension-do-not-disturb
    make
}

package() {
    cd gnome-shell-extension-do-not-disturb
    make DESTDIR="$pkgdir/" install
}