summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Phillips2016-02-18 21:05:54 +1300
committerDavid Phillips2016-02-18 21:05:54 +1300
commit66a90e6b07ff8dabbc2b8cc07c4636a36f57fe4a (patch)
tree29227d72c61b2af08bbf1b1540373d3c0f486fd4
downloadaur-66a90e6b07ff8dabbc2b8cc07c4636a36f57fe4a.tar.gz
Initial
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f6d8ef41ea4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Feb 18 08:05:35 UTC 2016
+pkgbase = lightdm-webkit-theme-petrichor-git
+ pkgdesc = Simple and tidy theme for LightDM's webkit2 greeter
+ pkgver = r1.fc3c7e2
+ pkgrel = 1
+ url = http://github.com/phillid/petrichor
+ arch = any
+ license = BSD
+ depends = lightdm
+ depends = lightdm-webkit-greeter
+ source = lightdm-webkit-theme-petrichor-git::git+https://github.com/phillid/petrichor.git
+ md5sums = SKIP
+
+pkgname = lightdm-webkit-theme-petrichor-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c363a30577c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: David Phillips <dbphillipsnz gmail>
+
+_theme=petrichor
+_pkgname=lightdm-webkit-theme-${_theme}
+pkgname=${_pkgname}-git
+pkgver=r1.fc3c7e2
+pkgrel=1
+pkgdesc="Simple and tidy theme for LightDM's webkit2 greeter"
+arch=('any')
+url="http://github.com/phillid/petrichor"
+license=("BSD")
+depends=('lightdm' 'lightdm-webkit-greeter')
+source=("${pkgname}::git+https://github.com/phillid/${_theme}.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package () {
+ cd "${srcdir}/${pkgname}"
+
+ mkdir -p "${pkgdir}/usr/share/lightdm-webkit/themes/${_theme}"
+ for f in index.{html,theme} petrichor.{js,css} bg.jpg iec5009.svg ; do
+ cp "${f}" "${pkgdir}/usr/share/lightdm-webkit/themes/${_theme}/"
+ done
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}