summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0797f661239f909065b31c41d0aaedaef60741be (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
# Maintainer: Ranieri Althoff <ranisalt+aur at gmail dot com>

pkgname=gnome-shell-extension-clock-override-git
pkgver=5+40+g7dd30bc
pkgrel=1
pkgdesc='Customize the date and time format displayed in clock in the top bar in GNOME Shell'
url='https://github.com/stuartlangridge/gnome-shell-clock-override'
license=('GPL')
arch=('any')
conflicts=(${pkgname%-git})
provides=(${pkgname%-git})
makedepends=('git' 'zip')
depends=('gnome-shell>=3.18')
source=("${pkgname}::git+${url}.git")
sha512sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/^v//; s/-/+/g'
}

build() {
  cd "$pkgname"
  make
}

package() {
  cd "$pkgname"
  make PREFIX="$pkgdir/usr/share/gnome-shell/extensions/" install
}