1 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=lib32-$_pkgbasename
7 pkgdesc="X11 Session Management library (32-bit)"
10 url="https://xorg.freedesktop.org/"
11 depends=('lib32-libice' 'lib32-util-linux' $_pkgbasename)
12 makedepends=('xorg-util-macros' 'xtrans' 'gcc-multilib' 'xorgproto')
13 source=(${url}/releases/individual/lib/libSM-${pkgver}.tar.xz)
14 sha512sums=('7f1d41b7b6c5dd456c49ccad7740c3ba9791a2793fa50fd94814a4164ce2e20c4a0a0ad42a87708e494ed5c23f611be6d3ccd9ef1e9add6d46ac545e2b0f6f86')
20 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
22 ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32
28 make DESTDIR="${pkgdir}" install
30 rm -rf "${pkgdir}"/usr/{include,share}
32 mkdir -p "$pkgdir/usr/share/licenses"
33 ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"