summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2cb8be855e57fde80277428c2fa5244ebbff647c (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
# Maintainer: Joris Vaišvila <yoris01@protonmail.com>

pkgname=elementary-wallpapers-git
pkgver=r124.47b25c2
pkgrel=1
pkgdesc='Collection of wallpapers for elementary OS'
arch=(any)
url=https://github.com/elementary/wallpapers
license=(GPL3)
groups=(pantheon-unstable)
makedepends=(
  git
  meson
)
provides=(elementary-wallpapers)
conflicts=(elementary-wallpapers)
source=(elementary-wallpapers::git+https://github.com/elementary/wallpapers.git)
sha256sums=(SKIP)

pkgver() {
  cd elementary-wallpapers

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

build() {
  arch-meson elementary-wallpapers build
  ninja -C build
}

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

# vim: ts=2 sw=2 et: