summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a2f659bf9c9efa04db87fc230c9a0574e25a1ad (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
# $Id$
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>

pkgname=gnome-shell-extension-blyr-git
pkgver=r61.07c60d0
pkgrel=1
pkgdesc="Adds a Blur Effect to GNOME Shell UI Elements."
arch=(any)
url="https://github.com/yozoon/gnome-shell-extension-blyr"
license=(LGPL3)
depends=('gnome-shell>=3.20')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
makedepends=('git')
install='gnome-shell-extension.install'
source=("${pkgname%-git}"::"git+https://github.com/yozoon/gnome-shell-extension-blyr")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname%-git}"
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}

package() {
  install -d "$pkgdir/usr/share/gnome-shell/extensions/"
  cp -a "$srcdir/${pkgname%-git}/blyr@yozoon.dev.gmail.com" \
    "$pkgdir/usr/share/gnome-shell/extensions/"
}
# vim:set ts=2 sw=2 et: