summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f2ebbf13372fa22f5f58ce69b510d1d74d46b19a (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: Maxime Gauduin <alucryd@archlinux.org>

pkgname=pantheon-shortcut-overlay-git
pkgver=1.1.2.r36.g8e3ba1f
pkgrel=1
pkgdesc='A native, OS-wide shortcut overlay'
arch=('x86_64')
url='https://github.com/elementary/shortcut-overlay'
license=('GPL3')
groups=('pantheon-unstable')
depends=('glib2' 'glibc' 'gtk3' 'libgee'
         'libgranite.so')
makedepends=('git' 'granite-git' 'meson' 'vala')
provides=('pantheon-shortcut-overlay')
conflicts=('pantheon-shortcut-overlay')
source=('pantheon-shortcut-overlay::git+https://github.com/elementary/shortcut-overlay.git')
sha256sums=('SKIP')

pkgver() {
  cd pantheon-shortcut-overlay

  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson pantheon-shortcut-overlay build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et: