summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07475d0dacbc0b6741ef76e21b3dfcefdb4c7800 (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
# Maintainer: Gordian Edenhofer <gordian.edenhofer@gmail.com>
# Maintainer: Michael Yugcha <mgyugcha@gmail.com>

pkgname=gnome-shell-theme-copernico-git
_pkgname=copernico-theme
pkgver=v3.26.r0.gb62fc37
pkgrel=1
pkgdesc="A flat theme for the GNOME Shell which provides a slightly more pleasant visual impression."
arch=('any')
url="https://gitlab.com/mgyugcha/copernico-theme"
license=('GPL3')
depends=('gnome-shell')
makedepends=('git')
provides=('gnome-shell-theme-copernico')
conflicts=('gnome-shell-theme-copernico')
source=(${_pkgname}::'git+https://gitlab.com/mgyugcha/copernico-theme.git')
sha512sums=('SKIP')

pkgver() {
	cd "${srcdir}/${_pkgname}"
	echo $(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
}

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

	install -dm755 "${pkgdir}/usr/share/themes/${_pkgname}"
	cp -dpr --no-preserve=ownership ./gnome-shell "${pkgdir}/usr/share/themes/${_pkgname}/"
}