summaryrefslogtreecommitdiff
path: root/extra/libx11/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libx11/PKGBUILD')
-rw-r--r--extra/libx11/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/libx11/PKGBUILD b/extra/libx11/PKGBUILD
new file mode 100644
index 000000000..bd218b04c
--- /dev/null
+++ b/extra/libx11/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 118889 2011-04-09 09:47:57Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libx11
+pkgver=1.4.3
+pkgrel=2
+pkgdesc="X11 client-side library"
+arch=(i686 x86_64 'mips64el')
+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=('174270a0e51614b5077026fc6c20701d4e09aef8'
+ '4b756387426afb2a5bb7a155631ec42348abf5c1'
+ '45b0b310776cf5d9a94b4a18a5c63ddad9de6ba8')
+
+build() {
+ cd "${srcdir}/libX11-${pkgver}"
+ ./configure --prefix=/usr --disable-static --disable-xf86bigfont
+ make
+ 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}/"
+}