summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e9c1efca6a06d9fc5a3b67f28cd3e887fbddedb (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: Jamin Collins <jamin.collins@gmail.com>
pkgname=mdmodern-mdm-theme-git
_gitname="MDModern"
pkgver=20150316.7a4ea5b
pkgrel=1
pkgdesc="An HTML5 theme for MDM's webkit greeter."
arch=('any')
url="https://github.com/philer/MDModern"
license=('GPL3')

makedepends=('git')

source=(
  "$_gitname::git+https://github.com/philer/MDModern.git"
)

sha256sums=('SKIP')

_gitroot=https://github.com/philer/MDModern.git

pkgver() {
  cd "$srcdir/$_gitname"
  git log -1 --date=short --format="%cd.%h" | tr -d '-'
}

package() {
  cd "$srcdir/$_gitname"
  destdir="${pkgdir}/usr/share/mdm/html-themes/mdmodern/"
  mkdir -p ${destdir}
  cp -r * ${destdir}
}

# vim:set ts=2 sw=2 et: