summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8774933808526f2ec12ee8474ff66d8992e05c58 (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
# Maintainer:
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Victor Häggqvist <aur@snilius.com>

_pkgname=lightdm-webkit-archsingle-theme
pkgname=$_pkgname-git
pkgver=0.1.0.r1.g83d828c
pkgrel=1
epoch=1
pkgdesc="Archlinux signeluser theme for LightDM Webkit"
arch=('i686' 'x86_64')
url="https://github.com/victorhaggqvist/lightdm-webkit-archsingle-theme"
license=("GPL2")
depends=('lightdm-webkit2-greeter')
makedepends=('git')
providers=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/victorhaggqvist/lightdm-webkit-archsingle-theme.git")
md5sums=('SKIP')

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

package() {
  cd "${srcdir}/${_pkgname}"
  install -dm755 "$pkgdir/usr/share/lightdm-webkit/themes/"
  cp -r "$srcdir/$_pkgname" "$pkgdir/usr/share/lightdm-webkit/themes/archsingle"
}