summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 845d763e0cb3332d0a79e13a5563b08608a92efb (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=switchboard-plug-security-privacy-git
pkgver=r813.ef433d5
pkgrel=1
pkgdesc='Switchboard Security & Privacy Plug'
arch=(x86_64)
url=https://launchpad.net/switchboard-plug-security-privacy
license=(GPL3)
depends=(
  glib2
  glibc
  gtk3
  libgee
  libgranite.so
  libswitchboard-2.0.so
  light-locker
  pantheon-dpms-helper-git
  polkit
  ufw
  zeitgeist
)
makedepends=(
  git
  granite-git
  meson
  switchboard-git
  vala
)
provides=(switchboard-plug-security-privacy)
conflicts=(switchboard-plug-security-privacy)
source=(git+https://github.com/elementary/switchboard-plug-security-privacy.git)
sha256sums=(SKIP)

pkgver() {
  cd switchboard-plug-security-privacy

  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  arch-meson switchboard-plug-security-privacy build
}

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

# vim: ts=2 sw=2 et: