summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2ab461f661e76ebc54d92315fffa94fc612edc7e (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: Maxime Gauduin <alucryd@archlinux.org>

pkgname=elementary-wallpapers-git
pkgver=r73.e28f613
pkgrel=1
pkgdesc='elementary Wallpapers'
arch=('any')
url='https://github.com/elementary/wallpapers'
license=('GPL3')
groups=('pantheon-unstable')
makedepends=('git')
provides=('elementary-wallpapers')
conflicts=('elementary-wallpapers' 'pantheon-backgrounds')
replaces=('pantheon-backgrounds-bzr')
options=('!emptydirs')
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)"
}

package() {
  cd elementary-wallpapers

  install -dm 755 "${pkgdir}"/usr/share/backgrounds/elementary
  install -m 644 *.jpg extra/*.jpg "${pkgdir}"/usr/share/backgrounds/elementary/
  install -m 644 elementaryos-default "${pkgdir}"/usr/share/backgrounds/
}

# vim: ts=2 sw=2 et: