summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLartza2015-06-12 04:36:03 +0300
committerLartza2015-06-12 04:36:03 +0300
commit20b4ceb9abaddd4be9c9384783edbb115e27fd13 (patch)
tree5504ab9827512bdc7bec814608dc12d69de5262d
downloadaur-20b4ceb9abaddd4be9c9384783edbb115e27fd13.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD38
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..532df440b34
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = lightdm-webkit-greeter
+ pkgdesc = A lightweight display manager
+ pkgver = 0.1.2
+ pkgrel = 6
+ url = https://launchpad.net/lightdm-webkit-greeter
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ license = LGPL3
+ makedepends = gnome-doc-utils
+ makedepends = gobject-introspection
+ makedepends = intltool
+ depends = lightdm
+ depends = webkitgtk2
+ depends = gtk-engines
+ options = !libtool
+ source = http://launchpad.net/lightdm-webkit-greeter/trunk/0.1.2/+download/lightdm-webkit-greeter-0.1.2.tar.gz
+ md5sums = ff8247d5bbf3026140531061fbf1f51e
+
+pkgname = lightdm-webkit-greeter
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3a9a4c05a9d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Contributor: M0Rf30
+# Maintainer: Lari Tikkanen
+
+pkgname=lightdm-webkit-greeter
+pkgver=0.1.2
+pkgrel=6
+pkgdesc="A lightweight display manager"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/lightdm-webkit-greeter"
+license=('GPL3' 'LGPL3')
+source=("http://launchpad.net/lightdm-webkit-greeter/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz")
+depends=('lightdm' 'webkitgtk2' 'gtk-engines')
+options=(!libtool)
+makedepends=('gnome-doc-utils' 'gobject-introspection' 'intltool')
+md5sums=('ff8247d5bbf3026140531061fbf1f51e')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ LIBS+="-ljavascriptcoregtk-1.0" ./configure --prefix=/usr \
+ --sysconfdir=/etc --libexecdir=/usr/lib/lightdm
+ make
+
+ # What is Ambiance? This should be a GTK+ 2.x theme, so we use Clearlooks here.
+ sed -i '/^theme-name=/s/Ambiance/Clearlooks/' data/lightdm-webkit-greeter.conf
+
+ # Theme 'default' does not exist...
+ sed -i '/^webkit-theme=/s/default/webkit/' data/lightdm-webkit-greeter.conf
+
+ # this is Ubuntu branding... Replace it with something useful. ;)
+ sed -i '/^background=/s|/usr/share/backgrounds/warty-final-ubuntu.png||' data/lightdm-webkit-greeter.conf
+ # Replace Ubuntu font with Dejavusans
+ sed -i '/^font-name=/s|Ubuntu 11|DejaVuSans 11|' data/lightdm-webkit-greeter.conf
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}