jobextra/libx11/PKGBUILD

77 lines
2.6 KiB
Bash
Raw Normal View History

2022-04-04 00:53:51 +02:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libx11
2024-03-26 01:14:40 +01:00
pkgver=1.8.8
pkgrel=03
2022-04-04 00:53:51 +02:00
pkgdesc="X11 client-side library w/o ipv6"
url="https://xorg.freedesktop.org/"
2024-03-26 01:14:40 +01:00
_url="https://gitlab.freedesktop.org/xorg/lib/libx11"
2022-04-04 00:53:51 +02:00
# keep xorgproto runtime dependency
# https://lists.archlinux.org/pipermail/arch-dev-public/2019-December/029767.html
2023-06-06 01:12:17 +02:00
depends=('libxcb' 'glibc' 'xorgproto')
2022-04-04 00:53:51 +02:00
makedepends=('xorg-util-macros' 'xtrans')
source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.xz{,.sig}
MR236.patch)
prepare() {
cd libX11-${pkgver}
# revert incompatible change - #1
# https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/205
patch -R -p1 -i ../MR236.patch
}
2022-04-04 00:53:51 +02:00
build() {
cd libX11-${pkgver}
2022-06-10 00:03:00 +02:00
./configure --prefix=/usr \
--disable-static \
--disable-xf86bigfont \
--disable-ipv6
2022-04-04 00:53:51 +02:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd libX11-${pkgver}
make check
}
package() {
cd "${srcdir}/libX11-${pkgver}"
make DESTDIR="${pkgdir}" install
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
2023-06-04 02:53:31 +02:00
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
2022-04-04 00:53:51 +02:00
2024-03-26 01:14:40 +01:00
license=('MIT AND X11')
2022-04-04 00:53:51 +02:00
#validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
2022-05-01 23:30:47 +02:00
#validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
2022-06-10 00:03:00 +02:00
#validpgpkeys=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # Adam Jackson <ajax@nwnk.net>
2022-04-04 00:53:51 +02:00
#validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # "Keith Packard <keithp@keithp.com>"
2022-06-10 00:03:00 +02:00
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alanc@freedesktop.org>
2022-04-04 00:53:51 +02:00
sha512sums=('4e7ce8f2d88b9475f960ea1d5730ece8953509e0c057cf2d0a2f5fa6a36e6577b0dcd7f16ac91b8fdd804aabec6d7e8f3067a3a8667bd2e41d72dd68ab70ef82'
'SKIP'
'e07b0a7e77c6472019caa9b8c00a065f80f6fcfad292ce939994a420b8fbb3ab226511df566f85a6f944a2b8e0ea0398aa4372ae675d6ef7d6fe7448bf52248c')
2024-03-26 01:14:40 +01:00
sha256sums=(46afaebb2dd1a3a7348c0544a4b1c88c51de4bda885fde57d2cf98427ee5cbf6 # libX11-1.8.8.tar.xz
a7d57456c94d5cb8ed8d173abf44c72f5d889ff35568f64b6b6e082b46402803 # libX11-1.8.8.tar.xz.sig
614dabfb372c9a9d3d0f875cf945715176425338b54244ad797d2cd5b1c28d5c) # MR236.patch
2023-01-22 15:03:17 +01:00
## b8232a185c045a720fed5f3107f459bb16e1a4c134ad6374d1ed37b4c6e2ceee libx11-1.8.8-03-x86_64.pkg.tar.lz
2024-03-27 17:55:43 +01:00