This commit is contained in:
seanpringle
2012-09-01 22:20:07 +10:00
parent c42c741614
commit d172c90a03
2 changed files with 43 additions and 1 deletions

42
PKGBUILD-git Normal file
View File

@@ -0,0 +1,42 @@
# Contributor: Sean Pringle <sean.pringle@gmail.com>
pkgname=xoat-git
pkgver=20120901
pkgrel=1
pkgdesc="X11 Obstinate Asymmetric Tiler"
arch=('i686' 'x86_64')
url="http://github.com/seanpringle/xoat"
license=('MIT')
depends=('libx11')
makedepends=('git')
provides=('xoat')
conflicts=('xoat')
_gitroot="git://github.com/seanpringle/xoat.git"
_gitname="xoat"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot --depth=1
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
make
}
package() {
cd "$srcdir/$_gitname-build"
install -Dm 755 $_gitname "$pkgdir/usr/bin/$_gitname"
}

View File

@@ -40,6 +40,6 @@ xoat
* Keyboard controls generally preferred over the mouse, when practical.
* Faster. Muscle memory.
* Click-to-focus model preferred over focus-follows-mouse.
* FfM means keeping track of the mouse or warping the pointer around.
* FfM means mentally keeping track of the mouse or warping the pointer around.
* CtF is harder to get wrong and makes it easy to forget about the mouse for some tasks.
* 2/3 is a nice fraction.