# $Id: PKGBUILD 36339 2009-04-21 02:17:26Z eric $ # Maintainer: dorphell # Contributor: Judd Vinet pkgname=x2x pkgver=1.27 pkgrel=5 pkgdesc="Control one X display from another" arch=(i686 x86_64) url="http://x2x.dottedmag.net/" license=('custom') depends=('libxtst') makedepends=('imake') source=(http://x2x.dottedmag.net/releases/$pkgname-$pkgver.tar.gz LICENSE) md5sums=('3d1bc863f3209ec37caf7f57bde7e8f0' '7ebc35f66a8ded9b8d8d7ca4131c7ae8') build() { cd $srcdir/$pkgname-$pkgver mv x2x.1 x2x.man xmkmf || return 1 make || return 1 make DESTDIR=$pkgdir MANPATH=/usr/share/man install install.man || return 1 install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }