summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 938451f54bc264188cd2c3abe8399292227e225c (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: Gordian Edenhofer <gordian.edenhofer@gmail.com>
# Contributor: Gustavo Castro <gustawho[at]gmail[dot]com>
# Submitter: acrox999 <acrox999[at]gmail[dot]com>

pkgname=gtk-theme-iris-light-git
_pkgname=iris-light
pkgver=105.aca7c34
pkgrel=1
pkgdesc="A flat theme that uses varying shades and tones to create distinction and a modern experience."
arch=('any')
url="https://thevirtualdragon.deviantart.com/art/Iris-Light-Gtk-Theme-v1-7-5-428948909"
license=('GPL3')
optdepends=("gtk-engine-murrine: gtk2 bindings"
	"gtk3: gtk3 bindings")
makedepends=('git')
provides=("gtk-theme-iris-light=${pkgver}")
conflicts=('gtk-theme-iris-light')
changelog="CHANGELOG"
source=(${_pkgname}::'git+https://github.com/xyl0n/iris-light.git')
sha512sums=('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}"
	cp -dpr --no-preserve=ownership . "${pkgdir}/usr/share/themes/${_pkgname}/"
	rm -rf "${pkgdir}/usr/share/themes/${_pkgname}/"{.git,CREDITS,LICENSE,README,README.md}
}