mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
44 lines
1.6 KiB
Bash
44 lines
1.6 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Benjamin Andresen <benny AT klapmuetz DOT org>
|
|
|
|
pkgname=xmove
|
|
pkgver=2.0beta2
|
|
pkgrel=2
|
|
pkgdesc="A tool to move X windows to different X servers, something like a GNU screen for X."
|
|
arch=('i686' 'x86_64')
|
|
url="ftp://ftp.cs.columbia.edu/pub/xmove/"
|
|
license=('custom')
|
|
depends=('libx11')
|
|
makedepends=('imake')
|
|
source=(http://ftp.de.debian.org/debian/pool/main/x/xmove/xmove_$pkgver.orig.tar.gz \
|
|
http://ftp.debian.org/debian/pool/main/x/xmove/xmove_"$pkgver"-8.diff.gz \
|
|
http://packages.debian.org/changelogs/pool/main/x/xmove/xmove_2.0beta2-8/xmove.copyright)
|
|
md5sums=('d70107f7835b755bd4f57b47a8ac7b38' 'c279270f5ea22f84a7e4282fdc64b370'\
|
|
'8c4f9641413431559efe19ea9cb3ffbe')
|
|
|
|
build() {
|
|
cd $startdir/src/xmove
|
|
patch -p1 -d . <../"$pkgname"_"$pkgver"-8.diff || return 1
|
|
cd $startdir/src/xmove/xmove
|
|
|
|
xmkmf || return 1
|
|
echo xmove.man:: >> Makefile #Adding an empty rule to avoid the confusing
|
|
make || return 1 #and meaningless error about making man files
|
|
|
|
cd $startdir/src/xmove/xmovectrl
|
|
xmkmf || return 1
|
|
echo xmovectrl.man:: >> Makefile
|
|
make || return 1
|
|
|
|
cd $startdir/pkg
|
|
mkdir -p usr/bin
|
|
mv $startdir/src/xmove/xmove/xmove usr/bin && \
|
|
mv $startdir/src/xmove/xmovectrl/xmovectrl usr/bin || return 1
|
|
|
|
mkdir usr/man
|
|
chmod 755 $startdir/src/xmove/man/man1 && \
|
|
mv $startdir/src/xmove/man/man1 usr/man || return 1
|
|
|
|
install -D -m0644 $startdir/src/xmove.copyright $startdir/pkg/usr/share/licenses/xmove/COPYRIGHT
|
|
}
|