summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Burgos2019-11-04 11:10:56 -0600
committerSam Burgos2019-11-04 11:10:56 -0600
commit180ab16f5a42c24c08302cd4bda38c48bcab4576 (patch)
tree81d03249f95d0f556d0b1a2dc5c4ab006d577892
parent441ef87306a49579b4af99f8cee789a0e0741c7d (diff)
downloadaur-180ab16f5a42c24c08302cd4bda38c48bcab4576.tar.gz
PKGBUILD aligned with upstream release
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD20
2 files changed, 15 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e47c604ba9b..6098496b9bb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lightdm-guest
pkgdesc = A lightweight display manager. With guest-session enabled
pkgver = 1.30.0
- pkgrel = 2
+ pkgrel = 3
epoch = 1
url = https://www.freedesktop.org/wiki/Software/LightDM/
install = add-autologin-group.install
@@ -9,7 +9,7 @@ pkgbase = lightdm-guest
license = GPL3
license = LGPL3
makedepends = glib2
- makedepends = glibc
+ makedepends = git
makedepends = gobject-introspection
makedepends = gtk-doc
makedepends = intltool
@@ -24,7 +24,7 @@ pkgbase = lightdm-guest
makedepends = qt5-base
makedepends = vala
makedepends = yelp-tools
- source = lightdm-1.30.0.tar.gz::https://github.com/CanonicalLtd/lightdm/archive/1.30.0.tar.gz
+ source = git+https://github.com/CanonicalLtd/lightdm.git#tag=1.30.0
source = lightdm.service
source = lightdm.sysusers
source = lightdm.tmpfiles
@@ -37,7 +37,7 @@ pkgbase = lightdm-guest
source = 0002-guest-account-Enable-autologin-guest-account-command.patch
source = add-autologin-group.script
source = add-autologin-group.service
- sha256sums = 05fe38d10dc8966f19806f001561edc057e757656ed37e08ca3127ab32a02692
+ sha256sums = SKIP
sha256sums = 0db37a14521be729411a767f157fbd07adb738b14006277def53a1efe4dacfb8
sha256sums = fd93291bfc9985f0a1bb288472866aa0a9bcd259e024c3a29d20ca158bc08403
sha256sums = cd69f928a1a5b30a30ba916e1b64c9f3657597cb28f3f0e220494d6e5e4bf587
diff --git a/PKGBUILD b/PKGBUILD
index b5ea3c4b2c4..66683eb0be5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: Sam Burgos < santiago dot burgos1089 at gmail dot
+# Maintainer: Sam Burgos <santiago.burgos1089@gmail.com>
pkgbase=lightdm-guest
pkgname=(
@@ -6,7 +6,7 @@ pkgname=(
liblightdm-qt5-guest
)
pkgver=1.30.0
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc='A lightweight display manager. With guest-session enabled'
_add_group=add-autologin-group
@@ -18,7 +18,7 @@ license=(
)
makedepends=(
glib2
- glibc
+ git
gobject-introspection
gtk-doc
intltool
@@ -36,7 +36,7 @@ makedepends=(
)
install=$_add_group.install
source=(
- "lightdm-${pkgver}.tar.gz::https://github.com/CanonicalLtd/lightdm/archive/${pkgver}.tar.gz"
+ git+https://github.com/CanonicalLtd/lightdm.git#tag=${pkgver}
lightdm.service
lightdm.sysusers
lightdm.tmpfiles
@@ -50,7 +50,7 @@ source=(
$_add_group.script
$_add_group.service
)
-sha256sums=('05fe38d10dc8966f19806f001561edc057e757656ed37e08ca3127ab32a02692'
+sha256sums=('SKIP'
'0db37a14521be729411a767f157fbd07adb738b14006277def53a1efe4dacfb8'
'fd93291bfc9985f0a1bb288472866aa0a9bcd259e024c3a29d20ca158bc08403'
'cd69f928a1a5b30a30ba916e1b64c9f3657597cb28f3f0e220494d6e5e4bf587'
@@ -65,7 +65,7 @@ sha256sums=('05fe38d10dc8966f19806f001561edc057e757656ed37e08ca3127ab32a02692'
'2199300cc27b6b407e46206abd181b2be2679d2520ddd183e4a37a3fc691739a')
prepare() {
- cd "lightdm-${pkgver}"
+ cd lightdm
patch -Np1 -i ../lightdm-default-config.patch
@@ -85,10 +85,12 @@ prepare() {
# this is a requirement to enable a fully functional session. It requires adding
# the autologin tweak.
patch -p1 -i ../0002-guest-account-Enable-autologin-guest-account-command.patch
+
+ NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd lightdm-${pkgver}
+ cd lightdm
export MOC5=moc-qt5
@@ -141,7 +143,7 @@ package_lightdm-guest() {
etc/pam.d/lightdm-greeter
)
- cd lightdm-${pkgver}
+ cd lightdm
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" -C liblightdm-qt uninstall
@@ -209,7 +211,7 @@ package_liblightdm-qt5-guest() {
provides=(liblightdm-qt5)
conflicts=(liblightdm-qt5)
- cd lightdm-${pkgver}
+ cd lightdm
make DESTDIR="${pkgdir}" -C liblightdm-gobject install
make DESTDIR="${pkgdir}" -C liblightdm-qt install