# $Id: PKGBUILD 198297 2013-10-30 14:00:39Z allan $ # Maintainer: AndyRTR # Maintainer: Jan de Groot pkgname=libxt pkgver=1.1.4 pkgrel=1 pkgdesc="X11 toolkit intrinsics library" arch=('i686' 'x86_64' 'mips64el') url="http://xorg.freedesktop.org/" license=('custom') depends=('libsm' 'libx11') makedepends=('xorg-util-macros') source=("${url}/releases/individual/lib/libXt-${pkgver}.tar.bz2") sha256sums=('843a97a988f5654872682a4120486d987d853a71651515472f55519ffae2dd57') build() { cd "${srcdir}/libXt-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --disable-static make } package() { cd "${srcdir}/libXt-${pkgver}" make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }