summaryrefslogtreecommitdiffstats
path: root/abs/core/libxt/PKGBUILD
blob: 86695f7a7ebf169215d36f4bb43307d9c9f3c8a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 73000 2010-03-21 17:33:15Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxt
pkgver=1.0.8
pkgrel=1
pkgdesc="X11 toolkit intrinsics library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libsm' 'libx11')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXt-${pkgver}.tar.bz2)
sha1sums=('d5e3dfba90a12169771399b3e2ccae07243489c9')

build() {
  cd "${srcdir}/libXt-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1

# install custom license
  install -Dm644 "${srcdir}/libXt-${pkgver}/COPYING" \
      "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
}