summaryrefslogtreecommitdiff
path: root/extra/xaw3d/PKGBUILD
blob: 83036d675a77a90d7950dd346d08e513818ac188 (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
27
28
29
# $Id: PKGBUILD 150431 2012-02-17 16:48:20Z andyrtr $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=xaw3d
pkgver=1.6.1
pkgrel=1
pkgdesc="Three-D Athena widgets"
arch=('i686' 'x86_64')
url="http://directory.fsf.org/project/xaw3d/"
license=('MIT')
depends=('libxmu')
makedepends=('xorg-util-macros')
options=('!libtool')
source=(http://xorg.freedesktop.org/archive/individual/lib/libXaw3d-${pkgver}.tar.bz2)
sha256sums=('9cd43caabb9e17d7d06c6e156cace9f7b7849c60662f61561dbf44c1eea10971')

build() {
  cd "${srcdir}/libXaw3d-${pkgver}"
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "${srcdir}/libXaw3d-${pkgver}"
  make DESTDIR="${pkgdir}" install
  
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}