blob: c8a8e1075d10e9a0e98bb5ebc2a93acb84d36cf0 (
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
47
48
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: eric <eric@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=wdm
pkgver=1.28
pkgrel=9
pkgdesc="An replacement X window display manager similar to, and based on XDM"
arch=(i686 x86_64)
url="http://github.com/raorn/wdm"
license=('GPL')
depends=('windowmaker' 'pam' 'bash' 'libxmu')
makedepends=('git')
source=("$pkgname::git+https://github.com/raorn/wdm.git#tag=$pkgname-$pkgver"
"Makefile.in" "cy.po" "wdm.service")
md5sums=('SKIP'
'b0860fca75e1c8ce7699014b4778a3f7'
'2e1a8d2c6bd69d1fad151d86906163bd'
'e176d2339acb8b5422c0369f83fd68a0')
prepare() {
cd $pkgname
cp -f ../Makefile.in .
cp -f ../cy.po po/cy.po
autoreconf -fiv
}
build() {
cd $pkgname
./configure --prefix=/usr --with-nlsdir=/usr/share/locale \
--sysconfdir=/etc --with-wdmdir=/etc/wdm --mandir=/usr/share/man \
--with-fakehome=/var/empty
make V=0
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
# used /etc/pam.d/xscreensaver as an example
#
echo "auth required pam_unix_auth.so" >"$pkgdir/etc/pam.d/wdm"
chmod 0644 "$pkgdir/etc/wdm/wdm-config"
chmod 0755 "$pkgdir/etc/wdm/authdir"
rm -f "$pkgdir/etc/wdm/wdm-config.in"
rm -f "$pkgdir/etc/Xclients.in"
install -Dm644 ../wdm.service "$pkgdir/usr/lib/systemd/system/wdm.service"
}
|