summaryrefslogtreecommitdiffstats
path: root/abs/core/libx11/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libx11/PKGBUILD')
-rw-r--r--abs/core/libx11/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/abs/core/libx11/PKGBUILD b/abs/core/libx11/PKGBUILD
new file mode 100644
index 0000000..e69ed0a
--- /dev/null
+++ b/abs/core/libx11/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 1882 2008-05-22 17:44:17Z jgc $
+# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+# Contributor Jan de Groot <jgc@archlinux.org>
+pkgname=libx11
+pkgver=1.1.4
+pkgrel=2
+pkgdesc="X11 client-side library"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+depends=('libxau' 'libxdmcp' 'libxcb>=1.1' 'kbproto' 'inputproto' 'bigreqsproto')
+makedepends=('pkgconfig' 'xcmiscproto' 'xextproto' 'xf86bigfontproto' 'xtrans' \
+ 'bigreqsproto' 'xorg-util-macros' 'autoconf' 'automake' 'libtool')
+options=('!libtool')
+license=('custom:XFREE86')
+source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2
+ 012_ru_RU_UTF-8_XLC_LOCALE.diff
+ xorg.sh)
+md5sums=('1469a5a8aa8d288dce6f4c45d2f68dc3'
+ 'c7e38a68b932ed557bc71979eed2a8a1'
+ 'ea3f14c529072c8be061493763479800')
+
+build() {
+ cd ${startdir}/src/libX11-${pkgver}
+ patch -Np1 -i ${startdir}/src/012_ru_RU_UTF-8_XLC_LOCALE.diff || return 1
+
+
+ libtoolize --force --copy || return 1
+ aclocal || return 1
+ autoconf || return 1
+ automake --add-missing || return 1
+
+ ./configure --prefix=/usr \
+ --with-xcb || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+
+ install -d -m755 ${startdir}/pkg/etc/profile.d
+ install -m755 ${startdir}/src/xorg.sh \
+ ${startdir}/pkg/etc/profile.d/ || return 1
+
+ install -d -m755 ${startdir}/pkg/usr/share/licenses/${pkgname}
+ install -m644 -D ${startdir}/src/libX11-${pkgver}/COPYING \
+ ${startdir}/pkg/usr/share/licenses/${pkgname}/ || return 1
+}