updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / xlax / PKGBUILD
blob50a7027217e3509b314ea65de138b735d9b5a0ae
1 # $Id$
2 # Maintainer: Biell <biell@pobox.com>
4 pkgname=xlax
5 pkgver=2.4
6 pkgrel=2
7 pkgdesc="multi window input software"
8 arch=('i686' 'x86_64')
9 url="http://hea-www.harvard.edu/~fine/Tech/xlax.html"
10 depends=('imake' 'libxaw' 'libbsd')
11 license=('custom')
12 options=()
13 source=(http://hea-www.harvard.edu/~fine/Tech/xlax$pkgver.tar.gz xlax.ad)
14 md5sums=(a0bcf5c6f55fc609371db17b56062b57 237150bf5830ef0936453fb8ac1e7b21)
16 build() {
17   cp xlax.ad $srcdir/xlax$pkgver/
18   cd $srcdir/xlax$pkgver
19   xmkmf -a          || return 1
20   make LDLIBS=-lbsd || return 1
22   install -D -m 755 xlax $pkgdir/usr/bin/xlax
23   install -D -m 755 mkxlax $pkgdir/usr/bin/mkxlax
25   install -D -m 644 ./xlax.ad $pkgdir/usr/share/X11/app-defaults/xlax
27   install -D -m 644 ./xlax.man $pkgdir/usr/share/man/man1/xlax.1
28   install -D -m 644 ./mkxlax.man $pkgdir/usr/share/man/man1/mkxlax.1
30   install -D -m 644  LICENSE $pkgdir/usr/share/licenses/$pkgname/license