libx11 1.8.7-1

This commit is contained in:
xhaa123 2024-04-15 10:42:11 +08:00
commit 667992ff52

33
PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=libx11
pkgver=1.8.7
pkgrel=1
pkgdesc="X11 client-side library"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('glibc' 'libxcb' 'libxau' 'libxdmcp')
makedepends=('util-macros' 'xorgproto' 'xtrans')
source=(https://www.x.org/pub/individual/lib/libX11-${pkgver}.tar.xz)
sha256sums=(05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee)
build() {
cd libX11-${pkgver}
${CONFIGURE} \
--disable-static \
--docdir=/usr/share/doc/libX11-${pkgver}
make
}
package() {
cd libX11-${pkgver}
make DESTDIR=${pkgdir} install
}