2022-03-07 10:50:48 +01:00
|
|
|
# Contributor: AndyRTR <andyrtr@archlinux.org>
|
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
2020-11-12 17:13:16 +01:00
|
|
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
|
|
|
|
|
|
|
_pkgname=libice
|
2022-03-07 10:50:48 +01:00
|
|
|
pkgname=static-compat-$_pkgname
|
2022-12-20 18:09:51 +01:00
|
|
|
pkgver=1.1.1
|
|
|
|
pkgrel=1
|
2020-11-12 17:13:16 +01:00
|
|
|
pkgdesc="X11 Inter-Client Exchange library"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://xorg.freedesktop.org/"
|
2022-03-07 10:50:48 +01:00
|
|
|
depends=('glibc-static-compat')
|
2022-12-20 18:09:51 +01:00
|
|
|
makedepends=('static-compat-configure' 'static-compat-xtrans' 'xorg-util-macros' 'static-compat-xorgproto')
|
2020-11-12 17:13:16 +01:00
|
|
|
options=(!emptydirs staticlibs)
|
2022-12-20 18:09:51 +01:00
|
|
|
source=(${url}/releases/individual/lib/libICE-${pkgver}.tar.xz{,.sig})
|
2020-11-12 17:13:16 +01:00
|
|
|
license=('custom')
|
2022-12-20 18:09:51 +01:00
|
|
|
sha512sums=('2f7833a25f31cc743ca95cb88f9a8403b50e19ffb5bf43bfef87ba405857d359789daaa9ec2391351237d958f16d35dbf082adb76d301e46d3a54162a6b452d3'
|
2020-11-12 17:13:16 +01:00
|
|
|
'SKIP')
|
2022-12-20 18:09:51 +01:00
|
|
|
#validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
|
|
|
|
validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
|
2020-11-12 17:13:16 +01:00
|
|
|
|
|
|
|
build() {
|
2022-03-07 10:50:48 +01:00
|
|
|
source static-compat-environment
|
2020-11-12 17:13:16 +01:00
|
|
|
cd libICE-${pkgver}
|
2022-03-07 10:50:48 +01:00
|
|
|
static-compat-configure --disable-shared --enable-static --sysconfdir=/etc
|
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 libICE-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2022-03-07 10:50:48 +01:00
|
|
|
rm -r "$pkgdir/$static_compat_prefix"/share/doc
|
2020-11-12 17:13:16 +01:00
|
|
|
|
|
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
|
|
}
|