archrelease: copy trunk to community-any
[ArchLinux/community.git] / lib32-libxext / trunk / PKGBUILD
blob7a68bb9248cda08e3048f0671e047a91016e8f7d
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 _pkgbasename=libxext
4 pkgname=lib32-$_pkgbasename
5 pkgver=1.3.5
6 pkgrel=1
7 pkgdesc="X11 miscellaneous extensions library (32-bit)"
8 arch=(x86_64)
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('lib32-libx11' $_pkgbasename)
12 makedepends=('xorg-util-macros' 'gcc-multilib')
13 source=(${url}/releases/individual/lib/libXext-${pkgver}.tar.xz{,.sig})
14 sha512sums=('fd9805982dabfb14b1526c0cb71f94508003fa3fcd60560d387465afd891c1dca61927ae86278436d53f4b840cacd1f412071fdc3dce1d6f730610a9c163d59b'
15             'SKIP')
16 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
18 build() {
19   cd "${srcdir}/libXext-${pkgver}"
21   export CC="gcc -m32"
22   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
24   ./configure --prefix=/usr --sysconfdir=/etc --disable-static --libdir=/usr/lib32
25   make
28 package() {
29   cd "${srcdir}/libXext-${pkgver}"
31   make DESTDIR="${pkgdir}" install
33   rm -rf "${pkgdir}"/usr/{include,share}
35   mkdir -p "$pkgdir/usr/share/licenses"
36   ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"