summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e55e905233401f41dd799860efab7c783fac5d0 (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
# Contributor: Diego <cdprincipe@at@gmail@dot@com>
#Maintainer: Pablo Lezaeta <prflr88@gmail.com>

_themename=Bluebird
pkgname=xfce-theme-bluebird-git
pkgver=1.2+11
pkgrel=1
pkgdesc="A light blue Xfce theme, introduced in the release of Xubuntu 10.10"
arch=('any')
url="https://github.com/shimmerproject/Bluebird"
license=('GPL2' 'CCPL')
depends=('gtk-engine-murrine')
makedepends=('git')
provides=('xfce-theme-bluebird')
conflicts=('xfce-theme-bluebird')
source=("${_themename}::git+http://github.com/shimmerproject/Bluebird")
md5sums=('SKIP')

pkgver() {
  cd "${_themename}"
#  echo $(git describe --always --abbrev=0).r$(git rev-list --count master) | sed 's|-|.|g' | sed 's|v||g'
	echo "$(git describe --long | sed -r 's/-([0-9,a-g,A-G]{7}.*)//' | sed 's/-/+/' | sed 's/v//g' )"
}

package() {
  cd "$srcdir/${_themename}"

  # create theme dirs
  install -d -m 755 "${pkgdir}/usr/share/themes/${_themename}"

  # clean up
  rm -rf {.git,.gitignore,CREDITS,LICENSE,README}

  # install theme
  cp -r . "$pkgdir/usr/share/themes/${_themename}/"
}