pkgbuild
This commit is contained in:
42
PKGBUILD-git
Normal file
42
PKGBUILD-git
Normal 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"
|
||||
}
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user