diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-08-10 21:29:19 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-08-12 12:04:30 +0000 |
commit | cb461983fe3cfd66e283fbf18179582c17eef601 (patch) | |
tree | 37dc938e35484085c7e9c085441514d5b40baecd /main/xdm/APKBUILD | |
parent | 54f5dc0b8f1e563ea89ab9c3baf96d26918271eb (diff) | |
download | aports-cb461983fe3cfd66e283fbf18179582c17eef601.tar.bz2 aports-cb461983fe3cfd66e283fbf18179582c17eef601.tar.xz |
main/xdm: store xdm configuration in /etc/X11/xdm
Configuration files belong in /etc and not in /usr/lib
Diffstat (limited to 'main/xdm/APKBUILD')
-rw-r--r-- | main/xdm/APKBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/main/xdm/APKBUILD b/main/xdm/APKBUILD index 7d124c3d92..0322e9c170 100644 --- a/main/xdm/APKBUILD +++ b/main/xdm/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr> pkgname=xdm pkgver=1.1.11 -pkgrel=1 +pkgrel=2 pkgdesc="X Display Manager" url="http://xorg.freedesktop.org/" arch="all" @@ -23,7 +23,7 @@ source=" _builddir="${srcdir}"/"${pkgname}"-"${pkgver}" prepare() { - local i + local i= cd "$_builddir" for i in $source; do case $i in @@ -41,6 +41,7 @@ build() { --infodir=/usr/share/info \ --localstatedir=/var \ --enable-ipv6 \ + --with-xdmconfigdir=/etc/X11/${pkgname} \ --with-pam \ || return 1 make || return 1 @@ -48,21 +49,23 @@ build() { package() { cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 rm -f "$pkgdir"/usr/lib/X11/xdm/*.la + install -D -m755 "$srcdir"/${pkgname}.initd \ "$pkgdir"/etc/init.d/${pkgname} || return 1 install -D -m644 "$srcdir"/Xresources.alpinelinux \ - "$pkgdir"/usr/lib/X11/${pkgname}/Xresources.alpinelinux \ - || return 1 + "$pkgdir"/etc/X11/${pkgname}/Xresources.alpinelinux \ + || return 1 install -D -m644 "$srcdir"/Xresources.alpinelinux_old \ - "$pkgdir"/usr/lib/X11/${pkgname}/Xresources.alpinelinux_old \ - || return 1 + "$pkgdir"/etc/X11/${pkgname}/Xresources.alpinelinux_old \ + || return 1 install -D -m644 "$srcdir"/alpinelinux_old_blue_black.xpm \ - "$pkgdir"/usr/lib/X11/${pkgname}/pixmaps/alpinelinux_old_blue_black.xpm \ + "$pkgdir"/etc/X11/${pkgname}/pixmaps/alpinelinux_old_blue_black.xpm \ || return 1 install -D -m644 "$srcdir"/alpinelinux_white_blue.xpm \ - "$pkgdir"/usr/lib/X11/${pkgname}/pixmaps/alpinelinux_white_blue.xpm \ + "$pkgdir"/etc/X11/${pkgname}/pixmaps/alpinelinux_white_blue.xpm \ || return 1 } |