summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe379009d68cdb2c53fa5fceb2ba51cb1493b7a9 (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
# Maintainer: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>

pkgname=gnome-shell-theme-copernico-git
_pkgname=copernico
pkgver=8.db365d0
pkgrel=1
pkgdesc="A theme for the GNOME Shell which provides a slightly more pleasant visual impression."
arch=('any')
url="http://gnome-look.org/content/show.php/Copernico+Theme?content=167439"
license=('GPL3')
depends=('gtk3' 'gnome-shell')
makedepends=('git')
source=(${_pkgname}::'git+https://bitbucket.org/mgyugcha/copernico-theme.git')
sha256sums=('SKIP')

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

package() {
  cd "${srcdir}/${_pkgname}"
  install -dm755 "${pkgdir}/usr/share/themes/${_pkgname}"
  rm -rf {.git,images,LICENSE.txt,README.md}
  cp -dpr --no-preserve=ownership . "${pkgdir}/usr/share/themes/${_pkgname}/"
}