Commit 8b32f31a authored by Jeff Bilyk's avatar Jeff Bilyk

main/lxdm: add an Alpine theme instead of modifying Industrial theme

parent 0cc29a74
......@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=lxdm
pkgver=0.4.1
pkgrel=2
pkgrel=3
pkgdesc="LXDE desktop login manager"
url="http://wiki.lxde.org/en/LXDM"
license="GPL"
......@@ -12,7 +12,8 @@ install=
subpackages="$pkgname-lang"
source="http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
background.png
lxdm.initd"
lxdm.initd
index.theme.alpine"
arch="all"
_builddir="$srcdir"/$pkgname-$pkgver
......@@ -28,9 +29,6 @@ prepare() {
;;
esac
done
# Replace the default background with the Alpine default one
sed -i 's/file="wave.svg"/file="background.png"/' "$_builddir"/data/themes/Industrial/gtkrc
}
build() {
......@@ -53,10 +51,22 @@ package() {
"$pkgdir"/etc/lxdm/lxdm.conf
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# Create our custom theme
cp -a "$pkgdir"/usr/share/lxdm/themes/Industrial "$pkgdir"/usr/share/lxdm/themes/Alpine
# Replace the default background with the Alpine default one
sed -i 's/file="wave.svg"/file="background.png"/' "$pkgdir"/usr/share/lxdm/themes/Alpine/gtkrc
sed -i 's/theme=Industrial/theme=Alpine/' "$pkgdir"/etc/lxdm/lxdm.conf
# Install the Alpine theme index file
install -m644 -D "$srcdir"/index.theme.alpine "$pkgdir"/usr/share/lxdm/themes/Alpine/index.theme
# Install the custom Alpine background
install -m644 -D "$srcdir"/background.png "$pkgdir"/usr/share/lxdm/themes/Industrial/background.png
install -m644 -D "$srcdir"/background.png "$pkgdir"/usr/share/lxdm/themes/Alpine/background.png
}
md5sums="8da1cfc2be6dc9217c85a7cf51e1e821 lxdm-0.4.1.tar.gz
a510afe725112947d16f6c1f0602effe background.png
d6455d172d5d897f6bfcefe9a1a632c7 lxdm.initd"
d6455d172d5d897f6bfcefe9a1a632c7 lxdm.initd
06ea32ef440375839851c4bc7caea004 index.theme.alpine"
[LXDM Theme]
Name=Alpine
Comment=The Alpine Linux Theme adapted from the Industrial Theme
Author=Jeff Bilyk <jbilyk@alpinelinux.org>;Jakub Steiner <jimmac@ximian.com>;Hong Jen Yee(PCMan) <pcman.tw@gmail.com>
License=GPL
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment