summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 909394d2ab82f85b75350b5701b371b98e372b6c (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: Jonas Tranberg <jonastranberg93@gmail.com>
pkgname=lightdm-webkit-theme-sequoia-git
pkgver=r21.cd5d4aa
pkgrel=1
pkgdesc="A simple LightDM theme"

arch=('any')
url="https://github.com/naueramant/lightdm-webkit-sequoia"
license=('MIT')
depends=('lightdm-webkit2-greeter')
makedepends=('git')
source=('git+https://github.com/naueramant/lightdm-webkit-sequoia.git')
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/lightdm-webkit-sequoia/"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  install -dm755 "$pkgdir/usr/share/lightdm-webkit/themes/sequoia"
  cp -r "$srcdir/lightdm-webkit-sequoia/"* \
    "$pkgdir/usr/share/lightdm-webkit/themes/sequoia/"
}