# Maintainer: pkgname=xpa pkgver=2.1.15 pkgrel=2 pkgdesc="provides seamless communication between many kinds of Unix programs, including X programs and Tcl/Tk programs." url="http://hea-www.harvard.edu/RD/xpa/" arch=('i686' 'x86_64') license=('GPL2') depends=() makedepends=() conflicts=() replaces=() backup=() source=(ftp://sao-ftp.harvard.edu/pub/rd/$pkgname/$pkgname-${pkgver}.tar.gz) md5sums=('7bcc721c12996ee4df454abe76fd2779') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --enable-shared=yes make } package() { cd ${srcdir}/${pkgname}-${pkgver} # make install fails to make directories if the root doesn't exist, so we make them... mkdir -p $pkgdir/usr/lib mkdir -p $pkgdir/usr/include mkdir -p $pkgdir/usr/bin make INSTALL_ROOT=$pkgdir install }