summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c293b6a9269a7220190985031a452b5877ca9bb (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-icon-theme-bzr
pkgver=r1175
pkgrel=1
pkgdesc='elementary icon theme'
arch=('any')
url='https://launchpad.net/elementaryicons'
license=('GPL3')
groups=('pantheon-unstable')
depends=('gtk-update-icon-cache' 'hicolor-icon-theme')
makedepends=('bzr')
provides=('elementary-icon-theme')
conflicts=('elementary-icon-theme')
options=('!emptydirs')
install='elementary-icon-theme.install'
source=('elementary-icon-theme::bzr+lp:elementaryicons')
sha256sums=('SKIP')

pkgver() {
  cd elementary-icon-theme

  echo "r$(bzr revno)"
}

package() {
  rm -rf elementary-icon-theme/{.bzr*,AUTHORS,CONTRIBUTORS,COPYING,icons/elementary/icon-theme.cache}
  install -dm 755 "${pkgdir}"/usr/share/icons
  cp -dr --no-preserve='ownership' elementary-icon-theme "${pkgdir}"/usr/share/icons/elementary
}

# vim: ts=2 sw=2 et: