[arch-commits] Commit in lightdm-webkit2-greeter/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun Sep 16 21:05:07 UTC 2018


    Date: Sunday, September 16, 2018 @ 21:05:06
  Author: ffy00
Revision: 382234

upgpkg: lightdm-webkit2-greeter 2.2.5-2

Modified:
  lightdm-webkit2-greeter/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-16 20:53:12 UTC (rev 382233)
+++ PKGBUILD	2018-09-16 21:05:06 UTC (rev 382234)
@@ -4,7 +4,7 @@
 pkgname=lightdm-webkit2-greeter
 _pkgname=web-greeter
 pkgver=2.2.5
-pkgrel=1
+pkgrel=2
 pkgdesc='LightDM greeter that uses WebKit2 for theming via HTML/JavaScript.'
 arch=('x86_64')
 url='https://github.com/antergos/web-greeter'
@@ -13,7 +13,7 @@
 makedepends=('gobject-introspection' 'meson' 'gettext' 'dbus-glib')
 backup=("etc/lightdm/$pkgname.conf")
 source=("$_pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
-        "archlinux-logo.svg::https://sources.archlinux.org/other/artwork/archlinux-logo-light-scalable.svg"
+        'archlinux-logo.svg::https://sources.archlinux.org/other/artwork/archlinux-logo-light-scalable.svg'
         'archlinux-user.svg')
 sha512sums=('173fe64dc3ff9bde0bc3d72319ab014001364eae8336a72b052333e0c6687167164277fd87de7051c689f12f64aeb441f95a9f0d38cc780ccb77751ab62204da'
             'a553510431d3771a0ef5c7aaec198f89302f11ea8fe6db83bdac496d087ded6d5a99e442d3d20fd7b9231a76ec0df0f1ffb3da2511f79d196c8516345241d1da'
@@ -22,11 +22,10 @@
 prepare() {
   cd $_pkgname-$pkgver
 
-  _pixmaps='/usr/share/pixmaps'
-
+  # Replace antergos logos
   sed -i \
-  	-e "s|\/usr.+antergos\.png|$_pixmaps/archlinux-logo.svg|g;" \
-  	-e "s|\/usr.+logo-user\.png|$_pixmaps/archlinux-user.svg|g" \
+  	-e 's|/usr.*antergos.png|/usr/share/pixmaps/archlinux-logo.svg|g;' \
+  	-e 's|/usr.*logo-user.png|/usr/share/pixmaps/archlinux-user.svg|g' \
   	"data/$pkgname.conf"
 }
 



More information about the arch-commits mailing list