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

pkgbase=pantheon-default-settings-git
pkgname=('pantheon-default-settings-git')
pkgver=5.1.2.r17.gc15e2d3
pkgrel=1
arch=('any')
url='https://github.com/elementary/default-settings'
license=('GPL')
groups=('pantheon-unstable')
makedepends=('git' 'meson' 'gnome-settings-daemon' 'accountsservice' )
source=('pantheon-default-settings::git+https://github.com/elementary/default-settings.git')
sha256sums=('SKIP')

pkgver() {
  cd pantheon-default-settings

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

build() {
  arch-meson pantheon-default-settings build \
    -Ddefault-wallpaper='Sunset by the Pier.jpg'
  ninja -C build
}
package() {
  pkgdesc='Default settings for Pantheon'
  depends=('elementary-icon-theme' 'gtk-theme-elementary'
           'elementary-wallpapers' 'ttf-droid' 'ttf-opensans')
  provides=('pantheon-default-settings')
  conflicts=('pantheon-default-settings')
  optdepends=('lightdm-pantheon-greeter')

  DESTDIR=$pkgdir ninja -C build install
  rm $pkgdir/usr/share/cups/data/default-testpage.pdf 


}

# vim: ts=2 sw=2 et: