summaryrefslogtreecommitdiffstats
path: root/abs/core/libx11/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-17 14:28:16 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-17 14:28:16 (GMT)
commitd450054a0e5f2dfbf9d86948b087edd0d89402c0 (patch)
treede7423c27319b8b14dcb3276e1ce4923b0217eaf /abs/core/libx11/PKGBUILD
parentd84be7aab7e5642787e25e305a9b19a77912f720 (diff)
downloadlinhes_pkgbuild-d450054a0e5f2dfbf9d86948b087edd0d89402c0.zip
linhes_pkgbuild-d450054a0e5f2dfbf9d86948b087edd0d89402c0.tar.gz
linhes_pkgbuild-d450054a0e5f2dfbf9d86948b087edd0d89402c0.tar.bz2
libx11: update 1.6.2
Diffstat (limited to 'abs/core/libx11/PKGBUILD')
-rw-r--r--abs/core/libx11/PKGBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/abs/core/libx11/PKGBUILD b/abs/core/libx11/PKGBUILD
index dfee942..4e34502 100644
--- a/abs/core/libx11/PKGBUILD
+++ b/abs/core/libx11/PKGBUILD
@@ -1,22 +1,26 @@
-# $Id: PKGBUILD 160633 2012-06-02 21:43:25Z andyrtr $
+# $Id$
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libx11
-pkgver=1.5.0
-pkgrel=1
+pkgver=1.6.2
+pkgrel=2
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)
-sha256sums=('c382efd7e92bfc3cef39a4b7f1ecf2744ba4414a705e3bc1e697f75502bd4d86'
- '1a1b5db0320579958fba24774bae7984a1b1b8c647ac6fbd4d8937178c48ed46'
- '96c85ccbdcb056540f2e2b6cf48dea067f80260c16957ee401c49cf94cea5894')
+ fix_typo.diff)
+sha256sums=('2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16'
+ '384a10e57e0d6125ebb7e6eaca046e02f59e8101eaa7ba470e52b5bcc18bedf3')
+
+prepare() {
+ cd "${srcdir}/libX11-${pkgver}"
+ # upstream patch for https://bugs.archlinux.org/task/40537
+ patch -Np1 -i ${srcdir}/fix_typo.diff
+}
build() {
cd "${srcdir}/libX11-${pkgver}"
@@ -24,7 +28,7 @@ build() {
make
}
-package() {
+check() {
cd "${srcdir}/libX11-${pkgver}"
make check
}
@@ -33,9 +37,6 @@ 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}/"
}