summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8987a3405db63af5062a2b3e4d9a3e7a654a2d28 (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
# Maintainer: Cleiton Floss <cleitonfloss@gmail.com>

pkgname=switchboard-plug-pantheon-tweaks-git
pkgver=r447.96ed0ce
pkgrel=1
pkgdesc='Pantheon Tweaks plug for Switchboard'
arch=('x86_64')
url='https://github.com/pantheon-tweaks/pantheon-tweaks'
license=('GPL3')
groups=('pantheon-unstable')
depends=('glib2' 'gtk3' 'libgee'
         'libgranite.so' 'libswitchboard-2.0.so')
makedepends=('git' 'meson' 'vala')
provides=('switchboard-plug-pantheon-tweaks-git')
conflicts=('switchboard-plug-pantheon-tweaks')
source=('switchboard-plug-pantheon-tweaks::git+https://github.com/pantheon-tweaks/pantheon-tweaks.git')
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/switchboard-plug-pantheon-tweaks"
  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

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

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

# vim: ts=2 sw=2 et: