summaryrefslogtreecommitdiff
path: root/extra/x2x/PKGBUILD
blob: 01bc0520ff6401d6daed338c72932f80f2dcdbd4 (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 128494 2011-06-24 05:31:20Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=x2x
pkgver=1.27
pkgrel=6.1
pkgdesc="Control one X display from another"
arch=(i686 x86_64 'mips64el')
url="https://github.com/dottedmag/x2x"
license=('custom')
depends=('libxtst')
makedepends=('imake')
source=(https://github.com/downloads/dottedmag/x2x/$pkgname-$pkgver.tar.gz LICENSE)
md5sums=('3d1bc863f3209ec37caf7f57bde7e8f0'
         '7ebc35f66a8ded9b8d8d7ca4131c7ae8')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  mv x2x.1 x2x.man 
  xmkmf 
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" MANPATH=/usr/share/man install install.man
  install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}