summaryrefslogtreecommitdiffstats
path: root/abs/core/libxaw/PKGBUILD
blob: db77f9f4b56197bdf5b017a23e5b352ee4635273 (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
# $Id: PKGBUILD 56419 2009-10-21 20:31:46Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxaw
pkgver=1.0.7
pkgrel=1
pkgdesc="X11 Athena Widget library"
arch=(i686 x86_64)
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxmu' 'libxpm')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXaw-${pkgver}.tar.bz2)
md5sums=('815e74de989ccda684e2baf8d12cf519')

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

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}