summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7e8d4a6086098ba4c06f38a2a28a0b612d836c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: CyrIng <labs[at]cyring[dot]fr>
# Contributor: CyrIng <labs[at]cyring[dot]fr>
pkgname=xdm-hallo
pkgver=0.19
pkgrel=1
pkgdesc="HALLO for XDM display manager"
arch=(any)
license=('GPL')
url="http://github.com/cyring/xdm-hallo"
depends=('xorg-xdm' 'xorg-xmessage' 'xterm' 'gawk')
optdepends=('psmisc' 'numlockx' 'xorg-xsetroot' 'xorg-xclock' 'xorg-xdpyinfo' 'xorg-xwininfo' 'imagemagick' 'scrot')
backup=(etc/xdm-hallo/xdm-hallo.rc)
install=xdm-hallo.install
source=(xdm-config
	Xsetup
	Xstartup
	Xsession
	Xreset
	xdm-hallo.rc
	xdm-hallo-xdesktops
	xdm-hallo.service
	chocolate.rc
	navy.rc)
md5sums=('SKIP'
	 'SKIP'
	 'SKIP'
	 'SKIP'
	 'SKIP'
	 'SKIP'
	 'SKIP'
	 'SKIP'
	 'SKIP'
	 'SKIP')

package() {
  mkdir -p ${pkgdir}/etc/xdm-hallo/theme
  cp chocolate.rc navy.rc ${pkgdir}/etc/xdm-hallo/theme
  cp xdm-hallo.rc ${pkgdir}/etc/xdm-hallo
  chmod 0755 ${pkgdir}/etc/xdm-hallo/xdm-hallo.rc
  ln -s /etc/xdm-hallo/theme/chocolate.rc ${pkgdir}/etc/xdm-hallo/xdm-theme.rc
  mkdir -p ${pkgdir}/etc/X11/xdm/xdm-hallo
  cp Xsession Xsetup Xstartup Xreset xdm-config ${pkgdir}/etc/X11/xdm/xdm-hallo
  chmod 0755 ${pkgdir}/etc/X11/xdm/xdm-hallo/{Xsession,Xsetup,Xstartup,Xreset}
  install -Dm755 ${srcdir}/xdm-hallo-xdesktops ${pkgdir}/usr/lib/systemd/scripts/xdm-hallo-xdesktops
  install -Dm0644 ${srcdir}/xdm-hallo.service ${pkgdir}/usr/lib/systemd/system/xdm-hallo.service
}