upgpkg: sbcl 2.2.11-1
[arch-packages.git] / libx11 / trunk / PKGBUILD
blobc33ab4356661d7ea778f1f131de1ff740692061f
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=libx11
4 pkgver=1.8.2
5 pkgrel=2
6 pkgdesc="X11 client-side library"
7 arch=(x86_64)
8 url="https://xorg.freedesktop.org/"
9 # keep xorgproto runtime dependency
10 # https://lists.archlinux.org/pipermail/arch-dev-public/2019-December/029767.html
11 depends=('libxcb' 'xorgproto')
12 makedepends=('xorg-util-macros' 'xtrans')
13 license=('custom')
14 options=('debug')
15 source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.xz{,.sig})
16 sha512sums=('662ee8043d9ba27df82f647515b701d6f302a52715f21afdaba391f3b70691753e3649e7ff8322e07858be4297df9cbb19227958d676ed6dea198cce64330d1d'
17             'SKIP')
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alanc@freedesktop.org>
19 #validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
20 #validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
21 #validpgpkeys=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # Adam Jackson <ajax@nwnk.net>
22 #validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # "Keith Packard <keithp@keithp.com>"
24 build() {
25   cd libX11-${pkgver}
26   ./configure --prefix=/usr \
27     --disable-static \
28     --disable-xf86bigfont
29   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
30   make
33 check() {
34   cd libX11-${pkgver}
35   make check
38 package() {
39   cd "${srcdir}/libX11-${pkgver}"
40   make DESTDIR="${pkgdir}" install
42   install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
43   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"