summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6e46c3998f10b37f48fc47b72acc6e2c550f7176 (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
# Maintainer: David Phillips <dbphillipsnz gmail>

_theme=petrichor
_pkgname=lightdm-webkit-theme-${_theme}
pkgname=${_pkgname}-git
pkgver=2.0.r0.g5a5eb65
pkgrel=1
pkgdesc="Simple and tidy theme for LightDM's webkit2 greeter"
arch=('any')
url="https://sighup.nz/programming/petrichor/"
license=("BSD")
depends=('lightdm' 'lightdm-webkit-greeter' 'accountsservice')
source=("${pkgname}::git+https://github.com/phillid/${_theme}.git")
md5sums=('SKIP')

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

package () {
	cd "${srcdir}/${pkgname}"
	make install DESTDIR="${pkgdir}"
}