summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bates2016-12-20 21:05:33 +0000
committerAndrew Bates2016-12-20 21:05:33 +0000
commitec9e7001c689dee42bc325318fb8b2a2c0314876 (patch)
tree264dd91d71519f7d79704b999b10a29a9e27ac46
downloadaur-ec9e7001c689dee42bc325318fb8b2a2c0314876.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD30
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..85179811f23
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = lightdm-kbswitch-greeter-git
+ pkgdesc = Python and Gtk+ greeter for LightDM
+ pkgver = 0.1.r1.gfd79f5e
+ pkgrel = 1
+ url = https://github.com/bearvrrr/lightdm-kbswitch-greeter
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = python-distutils-extra
+ depends = python-gobject
+ depends = gobject-introspection
+ depends = lightdm
+ depends = gtk3
+ optdepends = lightdm-gtk-greeter: session badge icons
+ provides = lightdm-kbswitch-greeter
+ conflicts = lightdm-kbswitch-greeter
+ backup = etc/lightdm/lightdm-kbswitch-greeter.conf
+ source = lightdm-kbswitch-greeter::git+https://github.com/bearvrrr/lightdm-kbswitch-greeter.git
+ md5sums = SKIP
+
+pkgname = lightdm-kbswitch-greeter-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..58f5d23b7c4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Andrew Bates <andrew dot bates at cantab dot net>
+
+pkgname=lightdm-kbswitch-greeter-git
+_pkgname=lightdm-kbswitch-greeter
+pkgver=0.1.r1.gfd79f5e
+pkgrel=1
+pkgdesc="Python and Gtk+ greeter for LightDM"
+arch=('any')
+url="https://github.com/bearvrrr/lightdm-kbswitch-greeter"
+license=('GPL3')
+depends=('python-gobject' 'gobject-introspection' 'lightdm' 'gtk3')
+optdepends=('lightdm-gtk-greeter: session badge icons')
+makedepends=('git' 'python-distutils-extra')
+source=("${_pkgname}"::'git+https://github.com/bearvrrr/lightdm-kbswitch-greeter.git')
+md5sums=('SKIP')
+provides=('lightdm-kbswitch-greeter')
+conflicts=('lightdm-kbswitch-greeter')
+backup=('etc/lightdm/lightdm-kbswitch-greeter.conf')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git describe --tags | sed 's|^v||;s|\([^-]*-g\)|r\1|;s|-|.|g'
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: