2011-01-14 23:54:01 +08:00
|
|
|
# Lib32 Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
|
|
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
|
|
|
|
_pkgbasename=libxt
|
|
|
|
pkgname=lib32-$_pkgbasename
|
2017-03-04 03:40:24 +08:00
|
|
|
pkgver=1.1.5
|
2011-01-14 23:54:01 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="X11 toolkit intrinsics library (32-bit)"
|
|
|
|
arch=(x86_64)
|
|
|
|
url="http://xorg.freedesktop.org/"
|
|
|
|
license=('custom')
|
2012-10-31 22:53:16 +08:00
|
|
|
depends=('lib32-libsm' 'lib32-libx11' $_pkgbasename=$pkgver)
|
2017-03-04 03:40:24 +08:00
|
|
|
makedepends=('xorg-util-macros' 'lib32-gcc-libs')
|
2011-01-14 23:54:01 +08:00
|
|
|
options=('!libtool')
|
|
|
|
source=(${url}/releases/individual/lib/libXt-${pkgver}.tar.bz2)
|
2017-03-04 03:40:24 +08:00
|
|
|
sha1sums=('c79e2c4f7de5259a2ade458817a139b66a043d59')
|
2011-01-14 23:54:01 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/libXt-${pkgver}"
|
|
|
|
|
|
|
|
export CC="gcc -m32"
|
|
|
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
|
|
|
|
2011-05-02 19:51:20 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-static \
|
|
|
|
--libdir=/usr/lib32
|
2011-01-14 23:54:01 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/libXt-${pkgver}"
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
|
|
|
|
rm -rf "${pkgdir}"/usr/{include,share}
|
|
|
|
|
|
|
|
mkdir -p "$pkgdir/usr/share/licenses"
|
|
|
|
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
|
|
|
|
}
|