summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 03a6f5a48b2ae08aa3d28dea95ef1431c980bd5c (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=switchboard-plug-display-git
pkgver=2.2.2.r82.g7098f7b
pkgrel=1
pkgdesc='Switchboard Display Plug'
arch=('x86_64')
url='https://github.com/elementary/switchboard-plug-display'
license=('GPL3')
groups=('pantheon-unstable')
depends=('glib2' 'glibc' 'gnome-desktop' 'gtk3' 'libgee'
         'libgranite.so' 'libswitchboard-2.0.so')
makedepends=('git' 'granite-git' 'switchboard' 'meson' 'vala')
provides=('switchboard-plug-display')
conflicts=('switchboard-plug-display')
source=('git+https://github.com/elementary/switchboard-plug-display.git')
sha256sums=('SKIP')

pkgver() {
  cd switchboard-plug-display

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

build() {
  arch-meson switchboard-plug-display build
  ninja -C build
}

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

# vim: ts=2 sw=2 et: