summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 496f224defec1d352b5009addfcd6d9bb19f239c (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
# Maintainer: Marcin Tydelski <marcin.tydelski@gmail.com> 
# Contributor: varlesh <https://launchpad.net/~varlesh-l>

pkgname=elementary-add-icon-theme-git
_pkgname=elementary-add
pkgver=380.f7a89bf
pkgrel=1
pkgdesc='Additional icons for elementary OS Freya.'
arch=('any')
url='https://github.com/varlesh/elementary-add'
license=('GPL3')
depends=('elementary-icon-theme')
optdepends=()
makedepends=('git')
provides=("${pkgname%}")
conflicts=("${pkgname%}")
install="${pkgname%-*}.install"
source=('git+https://github.com/varlesh/elementary-add.git')
md5sums=('SKIP')

pkgver() {
  cd $srcdir/$_pkgname
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {

  # create theme dirs
  install -d -m 755 "$pkgdir"/usr/share/icons/elementary-add

  # install theme
  cd $srcdir/elementary-add/elementary-add
  cp -r . "$pkgdir"/usr/share/icons/elementary-add/
}