[arch-commits] Commit in libx11/repos (5 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Feb 12 04:43:51 EST 2012


    Date: Sunday, February 12, 2012 @ 04:43:51
  Author: andyrtr
Revision: 149995

db-move: moved libx11 from [staging] to [testing] (x86_64)

Added:
  libx11/repos/testing-x86_64/
  libx11/repos/testing-x86_64/PKGBUILD
    (from rev 149988, libx11/repos/staging-x86_64/PKGBUILD)
  libx11/repos/testing-x86_64/xorg.csh
    (from rev 149988, libx11/repos/staging-x86_64/xorg.csh)
  libx11/repos/testing-x86_64/xorg.sh
    (from rev 149988, libx11/repos/staging-x86_64/xorg.sh)
Deleted:
  libx11/repos/staging-x86_64/

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 xorg.csh |   15 +++++++++++++++
 xorg.sh  |   15 +++++++++++++++
 3 files changed, 71 insertions(+)

Copied: libx11/repos/testing-x86_64/PKGBUILD (from rev 149988, libx11/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-02-12 09:43:51 UTC (rev 149995)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libx11
+pkgver=1.4.99.1
+pkgrel=1
+pkgdesc="X11 client-side library"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+depends=('libxcb' 'xproto' 'kbproto')
+makedepends=('xorg-util-macros' 'xextproto' 'xtrans' 'inputproto')
+options=('!libtool')
+license=('custom')
+source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2
+        xorg.sh
+        xorg.csh)
+sha1sums=('317e0112926926a52c13f56f71c1ec9e4540cf4d '
+          '4b756387426afb2a5bb7a155631ec42348abf5c1'
+          '45b0b310776cf5d9a94b4a18a5c63ddad9de6ba8')
+
+build() {
+  cd "${srcdir}/libX11-${pkgver}"
+  ./configure --prefix=/usr --disable-static --disable-xf86bigfont
+  make
+}
+
+package() {
+  cd "${srcdir}/libX11-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/libX11-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  install -m755 -d "${pkgdir}/etc/profile.d"
+  install -m755 "${srcdir}/"xorg.{sh,csh} "${pkgdir}/etc/profile.d/"
+
+  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}

Copied: libx11/repos/testing-x86_64/xorg.csh (from rev 149988, libx11/repos/staging-x86_64/xorg.csh)
===================================================================
--- testing-x86_64/xorg.csh	                        (rev 0)
+++ testing-x86_64/xorg.csh	2012-02-12 09:43:51 UTC (rev 149995)
@@ -0,0 +1,15 @@
+setenv XDG_DATA_HOME ${HOME}/.local/share
+setenv XDG_CONFIG_HOME ${HOME}/.config
+setenv XDG_CACHE_HOME ${HOME}/.cache
+
+if (! ($?XDG_DATA_DIRS) ) then
+  	setenv XDG_DATA_DIRS /usr/share/:/usr/local/share/
+else
+	setenv XDG_DATA_DIRS /usr/share/:/usr/local/share/:${XDG_DATA_DIRS}
+endif
+
+if (! ($?XDG_CONFIG_DIRS) ) then
+	setenv XDG_CONFIG_DIRS /etc/xdg
+else
+	setenv XDG_CONFIG_DIRS /etc/xdg:${XDG_CONFIG_DIRS}
+endif

Copied: libx11/repos/testing-x86_64/xorg.sh (from rev 149988, libx11/repos/staging-x86_64/xorg.sh)
===================================================================
--- testing-x86_64/xorg.sh	                        (rev 0)
+++ testing-x86_64/xorg.sh	2012-02-12 09:43:51 UTC (rev 149995)
@@ -0,0 +1,15 @@
+export XDG_DATA_HOME=$HOME/.local/share
+export XDG_CONFIG_HOME=$HOME/.config
+export XDG_CACHE_HOME=$HOME/.cache
+
+if [ -z $XDG_DATA_DIRS ]; then
+	export XDG_DATA_DIRS=/usr/share/:/usr/local/share/
+else
+	export XDG_DATA_DIRS=/usr/share/:/usr/local/share/:$XDG_DATA_DIRS
+fi
+
+if [ -z $XDG_CONFIG_DIRS ]; then
+	export XDG_CONFIG_DIRS=/etc/xdg
+else
+	export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS
+fi



More information about the arch-commits mailing list