summaryrefslogtreecommitdiff
path: root/testing/xorg-xdm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xorg-xdm/PKGBUILD')
-rw-r--r--testing/xorg-xdm/PKGBUILD60
1 files changed, 0 insertions, 60 deletions
diff --git a/testing/xorg-xdm/PKGBUILD b/testing/xorg-xdm/PKGBUILD
deleted file mode 100644
index 5a2ce0012..000000000
--- a/testing/xorg-xdm/PKGBUILD
+++ /dev/null
@@ -1,60 +0,0 @@
-# $Id: PKGBUILD 169289 2012-10-18 19:49:22Z jgc $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-pkgname=xorg-xdm
-pkgver=1.1.11
-pkgrel=4
-pkgdesc="X Display Manager"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('pam' 'libxaw' 'libxinerama' 'xorg-xrdb' 'xorg-sessreg' 'libxft' 'systemd')
-makedepends=('pkgconfig' 'xorg-util-macros' 'xtrans')
-backup=(etc/X11/xdm/Xaccess etc/X11/xdm/Xresources etc/X11/xdm/Xservers etc/X11/xdm/xdm-config etc/pam.d/xdm etc/X11/xdm/Xsetup_0 etc/X11/xdm/Xsession)
-options=('!libtool')
-source=(${url}/releases/individual/app/xdm-${pkgver}.tar.bz2
- Xsession-loginshell.patch
- Xsession-xsm.patch
- xdm-1.0.5-sessreg-utmp-fix-bug177890.patch
- xdm.pam
- git_fixes.diff)
-sha256sums=('d4da426ddea0124279a3f2e00a26db61944690628ee818a64df9d27352081c47'
- 'fd3e7c20837b42a8ab111369fd6dc9612f9edb91c1f6904cca1d6a1fa3cfa0ff'
- '77a1ce9bdf363591b72798db08b4df3589bd4e64737fd32cf9028f9245450edb'
- '5f380a2d6f77feb910d77f7f6843fce9b00ff7610c159fc029ee44cc6c23a48a'
- '7d6818a1c1a44e9bd38774c035e03b0b831f6646681bc2bf556761aec7baf418'
- '781b5577bb070220d018a11832d0d4a65fd16e130730ba26fb055c3aa68156b2')
-
-build() {
- cd "${srcdir}/xdm-${pkgver}"
- # upstream commits - Add some missing malloc failure checks 2012-01-07
- patch -Np1 -i "${srcdir}/git_fixes.diff"
-
- patch -Np0 -i "${srcdir}/Xsession-loginshell.patch"
- patch -Np1 -i "${srcdir}/Xsession-xsm.patch"
- patch -Np0 -i "${srcdir}/xdm-1.0.5-sessreg-utmp-fix-bug177890.patch"
-
- autoreconf -fi
- ./configure --prefix=/usr \
- --disable-xdm-auth \
- --disable-static \
- --with-xdmconfigdir=/etc/X11/xdm \
- --with-xdmscriptdir=/etc/X11/xdm \
- --with-pixmapdir=/usr/share/xdm/pixmaps
- make
-}
-
-package() {
- cd "${srcdir}/xdm-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/var/lib/xdm"
- install -m755 -d "${pkgdir}/etc/pam.d"
- install -m644 "${srcdir}/xdm.pam" "${pkgdir}/etc/pam.d/xdm"
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-
- sed -i -e 's/\/X11R6//g' "${pkgdir}"/etc/X11/xdm/*
-
- sed -i 's|^Alias=.*|Alias=display-manager.service|' \
- "$pkgdir/usr/lib/systemd/system/xdm.service"
-}