PKGBUILDs/extra/libxt/PKGBUILD
2009-09-26 09:35:50 -05:00

28 lines
779 B
Bash

# $Id: PKGBUILD 35661 2009-04-15 02:10:21Z eric $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxt
pkgver=1.0.5
pkgrel=2
pkgdesc="X11 toolkit intrinsics library"
arch=(arm)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libsm' 'libx11')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXt-${pkgver}.tar.bz2)
md5sums=('f3bdd67785ace8cd0b23249e9d8c9975')
build() {
cd ${srcdir}/libXt-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--build=${CHOST} --host=${CHOST} \
--disable-install-makestrs
make || return 1
make DESTDIR=${pkgdir} install || return 1
# install custom license
install -Dm644 $srcdir/libXt-$pkgver/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING
}