diff options
author | root <root@rshg054.dnsready.net> | 2012-02-13 23:15:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-13 23:15:14 +0000 |
commit | 16e845de1bbf76ab48a02bfaa21730f45e6afaaa (patch) | |
tree | 29a9ad28230397e62bdb0ab5cd970763a6033f69 /testing/libx11/PKGBUILD | |
parent | 0020cc650ff973f269f23332e82fc097254d0adc (diff) |
Mon Feb 13 23:15:14 UTC 2012
Diffstat (limited to 'testing/libx11/PKGBUILD')
-rw-r--r-- | testing/libx11/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/libx11/PKGBUILD b/testing/libx11/PKGBUILD new file mode 100644 index 000000000..3e1d87dc0 --- /dev/null +++ b/testing/libx11/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 149995 2012-02-12 09:43:51Z andyrtr $ +# Maintainer: Jan de Groot <jgc@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}/" +} |