summaryrefslogtreecommitdiff
path: root/extra/x2x/PKGBUILD
blob: bccbba6a4946468708938cd244bd4673f6d4024e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 36334 2009-04-21 02:04:21Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
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
}