summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSam Burgos2018-06-26 10:56:35 -0600
committerSam Burgos2018-06-26 10:56:35 -0600
commite2ed01bae7e1ecdb80100e85cd777021f447db83 (patch)
tree90a59c35e5e0d6722d5f2c350613c6d679d8981d /PKGBUILD
parent1a3967097bc7b70b30126e5680cfc09ea12874d1 (diff)
downloadaur-e2ed01bae7e1ecdb80100e85cd777021f447db83.tar.gz
updated to version 1.2.2 and added new files for easy installation (ported from manjaro settings)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 24 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9330b9323f9..114db27c8fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,28 @@
# Maintainer: Sam Burgos < sam dot burgos1089 at gmail dot com >
-pkgname='lightdm-settings'
-pkgver=1.2.1
+pkgname=lightdm-settings
+pkgver=1.2.2
pkgrel=1
-pkgdesc="A configuration tool for the LightDM display manager "
+pkgdesc="A configuration tool for the LightDM display manager"
+_add_group=add-autologin-group
arch=('any')
url="https://github.com/linuxmint/${pkgname}"
license=('GPL3')
-depends=('hicolor-icon-theme' 'lightdm-slick-greeter' 'polkit' 'python-gobject' 'python-setproctitle' 'python-xapp')
-makedepends=('desktop-file-utils' 'gettext')
-source=("${pkgname}-${pkgver}.tar.gz::$url/archive/${pkgver}.tar.gz")
-sha256sums=('d175ffa71e77f4c45697e2a69bfb7d2c9b50753bffb6b1a9ccc7dfce4e62cd21')
+depends=('hicolor-icon-theme'
+ 'lightdm-slick-greeter'
+ 'polkit'
+ 'python-gobject'
+ 'python-setproctitle'
+ 'python-xapp')
+makedepends=('desktop-file-utils'
+ 'gettext')
+install=$_add_group.install
+source=("${pkgname}-${pkgver}.tar.gz::$url/archive/${pkgver}.tar.gz"
+ "$_add_group.script"
+ "$_add_group.service")
+sha256sums=('ca558b6733baeb55e614e16c3995edaa8d3a0e9afa08794a0c09830a44495d21'
+ '475bb4805a419aca106f9f42bcb837c7dc53eeb84b5c50d8ee8d892b55d6c2b4'
+ 'a356ee9dc1e876d73c49ab30fdc6417edb7a817639122fff7fe0ebff72e33190')
build() {
cd $pkgname-$pkgver
@@ -20,4 +32,9 @@ build() {
package() {
cd $pkgname-$pkgver
cp -r usr $pkgdir
+
+#install systemd service
+ cd /$srcdir
+ install -Dm755 $_add_group.script $pkgdir/usr/bin/$_add_group
+ install -Dm644 $_add_group.service $pkgdir/etc/systemd/system/$_add_group.serv
}