2020-11-12 17:13:16 +01:00
|
|
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
_pkgname=libxext
|
2022-03-07 10:50:48 +01:00
|
|
|
pkgname=static-compat-$_pkgname
|
2022-11-28 21:20:18 +01:00
|
|
|
pkgver=1.3.5
|
|
|
|
pkgrel=1
|
2020-11-12 17:13:16 +01:00
|
|
|
pkgdesc="X11 miscellaneous extensions library"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://xorg.freedesktop.org/"
|
|
|
|
license=('custom')
|
2022-03-07 10:50:48 +01:00
|
|
|
depends=('static-compat-libx11')
|
|
|
|
makedepends=('xorg-util-macros' 'static-compat-xorgproto' 'static-compat-configure')
|
2020-11-12 17:13:16 +01:00
|
|
|
options=(!emptydirs staticlibs)
|
2022-11-28 21:20:18 +01:00
|
|
|
source=(${url}/releases/individual/lib/libXext-${pkgver}.tar.xz{,.sig})
|
|
|
|
sha512sums=('fd9805982dabfb14b1526c0cb71f94508003fa3fcd60560d387465afd891c1dca61927ae86278436d53f4b840cacd1f412071fdc3dce1d6f730610a9c163d59b'
|
2020-11-12 17:13:16 +01:00
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # "Peter Hutterer (Who-T) <office@who-t.net>"
|
|
|
|
validpgpkeys+=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
|
|
|
|
build() {
|
2022-03-07 10:50:48 +01:00
|
|
|
source static-compat-environment
|
2020-11-12 17:13:16 +01:00
|
|
|
cd libXext-${pkgver}
|
2022-03-07 10:50:48 +01:00
|
|
|
static-compat-configure --sysconfdir=/etc --disable-shared --enable-static
|
2020-11-12 17:13:16 +01:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-03-07 10:50:48 +01:00
|
|
|
source static-compat-environment
|
2020-11-12 17:13:16 +01:00
|
|
|
cd libXext-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2022-03-07 10:50:48 +01:00
|
|
|
rm -r "$pkgdir/$static_compat_prefix"/share/{doc,man}
|
2020-11-12 17:13:16 +01:00
|
|
|
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
|
|
}
|