diff options
Diffstat (limited to 'extra/x2x/PKGBUILD')
-rw-r--r-- | extra/x2x/PKGBUILD | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/extra/x2x/PKGBUILD b/extra/x2x/PKGBUILD index 60fa7eb28..8389e2ef8 100644 --- a/extra/x2x/PKGBUILD +++ b/extra/x2x/PKGBUILD @@ -1,23 +1,29 @@ -# $Id: PKGBUILD 36334 2009-04-21 02:04:21Z eric $ +# $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=5 +pkgrel=6 pkgdesc="Control one X display from another" -arch=(i686 x86_64 'mips64el') -url="http://x2x.dottedmag.net/" +arch=('i686' 'x86_64') +url="https://github.com/dottedmag/x2x" license=('custom') depends=('libxtst') makedepends=('imake') -source=(http://x2x.dottedmag.net/releases/$pkgname-$pkgver.tar.gz LICENSE) -md5sums=('3d1bc863f3209ec37caf7f57bde7e8f0' '7ebc35f66a8ded9b8d8d7ca4131c7ae8') +source=(https://github.com/downloads/dottedmag/x2x/$pkgname-$pkgver.tar.gz LICENSE) +md5sums=('3d1bc863f3209ec37caf7f57bde7e8f0' + '7ebc35f66a8ded9b8d8d7ca4131c7ae8') build() { - cd $srcdir/$pkgname-$pkgver + 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 + 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" } |