summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ac7a8b60d82d99746a7bf918a4499aa69d248c8c (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
# Maintainer: Kate Hart <kejt.hart; gmail>

pkgname=lightdm-webkit-theme-tendou
_pkgname=tendou
pkgver=1.2.1
pkgrel=1
pkgdesc="A Windows 10 inspired theme for the LightDM WebKit greeter"
arch=('any')
url="https://github.com/codehearts/lightdm-webkit-theme-tendou"
license=('MIT')
depends=('lightdm' 'lightdm-webkit2-greeter')
conflicts=('lightdm-webkit-theme-tendou')
install=theme.install
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/codehearts/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('481e7eaad1213b9771a5c7ea6cfe6a308c272bdb919c941af85743f0ae1e082b')

build()
{
	cd ${srcdir}/${pkgname}-${pkgver}
    sed -i 's%/usr/share/%/usr/share/lightdm-webkit/themes/%g' index.html
}

package()
{
	cd ${pkgdir}
	mkdir -p usr/share/lightdm-webkit/themes
	cd usr/share/lightdm-webkit/themes
	cp -dpr --no-preserve=ownership ${srcdir}/${pkgname}-${pkgver} ${_pkgname}
	msg "Removing .git files"
	cd ${_pkgname}
	rm -rf .gitignore
}